Since you had a home office in a particular location for only 5 months, answer the questions under that home office only for the period of time that it was your home office.
If you add a second home office for the other 7 months of the year, then only consider the expenses related to that 7 month period when entering information about the second home office.
You also mentioned there was a question about mortgage insurance and then insurance a few lines down. Those are two different things. The mortgage insurance is also called PMI and is reported with your mortgage interest on Form 1098. The insurance question is asking about homeowner's insurance most likely.
**Say "Thanks" by clicking the thumb icon in a post
**Mark the post that answers your question by clicking on "Mark as Best Answer"