Deductions & credits

It is unclear exactly what your income sources are other than social security income and the capital gain from the sale of the second house.  In any case, marginal tax brackets do not work that way.  Only amounts above the tax bracket thresholds are taxed at the marginal rate.