Deductions & credits

This is clearer, I am deducting it on schedule D.

My house was purchased 19 years ago and was only for rent for 1 year, so I need to file Form 8949 and schedule D but I don't have to pay the tax on the capital gain, correct?

And where on schedule D will exempt me from the capital gain tax? Thanks!