Deductions & credits

Thank you very much for your reply - very helpful. One follow up question - I understand I can deduct real estate agent commissions & title fees associated with the sale, but where do I do that? Do I simply subtract them from the "Total Sales Price"?