Form 4797 Line 21 (Cost or basis plus expense of sale):

How does Turbo Tax calculate this line item?  I want to know what specific places on any of the forms it grabs the numbers from as it is not calculating correctly.

 

e.g. I can't find where to enter in the costs associated with the sale of my rental real estate