Gift of Equity WITH capital gains?

Hi. I sold my 2nd home that I was not living in. It appraised at 150k. Buyers paid 56k: 36k of remaining mortgage & 20k profit. What taxes will I (the seller/giver be responsible for this transaction?