You would apply the business percentage of use to the total paid for the two months it was used for business.
The cost during the months it was not used for business purposes was a personal expense and would not be considered at all in the calculation.