inherited a house and sold 6 years later

I have two questions. I inherited a house 6 years ago in 2013. the value was sold house in 2020 used the house as a second home.

the value of the house went up around 100k. do I put the selling price of the house total proceeds(sum of all sales)

then put all the difference  like realtor fees,updates to the house, value difference in Total cost basis(sum of all sales) or do I have to itemize and where do input the data.

second question is the house had a reverse mortgage and I paid if off when inheriting the house. can I deduct the amount I paid off.