Get your taxes done using TurboTax

Yes.  You became the owner of the vehicle that you purchased for 22k.  You sold the vehicle you owned for 29k for a gain of 7k.

Personal property sold at a gain is reported on your tax return and taxed as a capital gain.