Sale of Section 1031 property

How do I report the sale of a section 1031 property that was converted to a primary residence? Rental property A was exchanged for a like property B under section 1031. After meeting the primary residence requirement of 5 years on property B, it is now being offered for sale. Upon sale of property B, what forms and/or documents will I need to include on my federal income tax return?