Hi Steve
You can only claim for the period that you lived in it.
As you were living in the property for the final 9 months of ownership this is already accounted for and you cannot then add this to the 286 months.
Yes, you need to report and pay any gain within 60 days -
Report and pay your Capital Gains Tax
Thank you