i am single and have owned my home for 2 yrs. a very possible upcoming situation is this: my boyfriend buys a condo in the state where he lives this fall. we get married a year later. i sell my house and move to his state. what are the various ways that i can invest any profit from selling my house and avoid the capital gains tax? what about using the profit toward my student loans, which are substantial?