Calculates the commission a real estate agent earns based on the monthly rent and the commission rate.