Deductions & credits

You have a gain of $12,500 after less than a year?  Also, when calculating the gain, you do not get to deduct any mortgage principal payoff.