Taxpayer receives stock as a gift from his uncle. The adjusted basis of the stock is $20,000 and the fair market value is $37,000. Taxpayer trades the stock for bonds with a fair market value of $35,000 and $2,000 cash. What is his recognized gain and the basis for the bonds?