Deductions & credits

How do I fill out 8949 for sale of 7 year residence with less than $250,000 capital gain? I received a 1099-S from the title company for the full amount of the sale even though it was a residence of 7 years but I had not physically lived there for only 5 months before sale!!