Hi from just answer. I'm PDtax, and will assist.
The adjusted basis of the asset at sale is 1728, so the gain is 19272.
Since the tax rate is 40% on the gain, the tax cost is $7709.
Thanks for asking at just answer. Positive feedback is appreciated. I'm PDtax.