Sold 2 houses and bought 1

Hi,

 

My wife and I both sold our houses this year when we got married and bought one (that we now live in). I've done some research on a 1031 exchange and I've seen a thread that mentions Form 8824.

 

What do I need to do in turbotax to avoid capital gains tax on one or both of the sold houses?