Deductions & credits

Your portion of the purchase price was $380K / 2 = 190K basis.

 

The outstanding mortgage  means nothing ... what was the fair market value at the time ... you take 1/2 of that for the sales price.  Then you deduct the basis  to get your profit or loss that you report on the Sch D.