Calculating the Legal Tax Basis of a Home