Sale of Second home

I purchased an equity interest in a second home a number of years ago. 

The home was sold and I received less than my investment. The 1099-S I received shows my gross proceeds much greater than my investment. Where do I show my actual loss so that there is no gain on the sale?

 

Thank you