Deductions & credits

Also, I am on the deed as a "joint tenant, and not as a tenant in common, with right of survivorship". I still made money when I sold it, just hardly any after paying off the mortgage.