How can I avoid capital gains tax?

5-year rental forfeits $250,000 home-sale tax exemption