How do i claim the sale of my previous home and the purchase of my new home?

sale of principle residence