Question: how to calculate months rent?
Answer: Start with the rent and divide by the number of days of the first month in question to get the amount per month of month 1. ( ... 
Divide the rent by the number of days in the second month to get the amount per month of month 2.