When they finished building the house, they sold it and kept all the profits. NO they did not keep all the profits ... you got $37K at closing.
During the 2-year period, we paid the property taxes and HOA dues for each year. Carrying costs ... the RE taxes could have been deducted if you itemized deduction on the Sch A. If you did not itemize deductions then you could have capitalized the RE taxes and the HOA fees if you had made a timely election each and every tax year this was going on.
After the house sold they paid us back the $37K and everything we paid out in taxes and HOA dues plus they gave us an additional $37K as our cut of the profits. So you made a profit ... long term capital gains.
Let me know if you need to know the price of the house and the sale price, but those profits weren't ours to keep, so I don't think you need those amounts. You will need to report this sale on the Sch D ... did they issue you any kind of tax reporting form like a 1099-S ?
The taxes and HOA dues for both years were a little over $17K (but that wasn't an expense since they paid us back). Our only real expense was the interest we lost on the total $54K. You should have charged them interest or imputed interest should have been reported. I am sure someone may also chime in on this thread however I highly recommend you seek local professional assistance to get this reported correctly. As of now you seem to have a profit in the amount of the total of the RE taxes + HOA fees you paid + the profit passed onto you.