Deductions & credits

Well, I just plugged in various numbers and no matter what I plug in it returns a gain of $916.  Not sure how I gained value on the sale though.