A car wash attendant counted the number of cars washed and the total amount of money earned. The company charged the same price for each car washed and earned $165 for 15 cars, $231 for 21 cars, and $275 for 25 cars. Write an equation for the relationship between the number of cars washed, n, and the number of dollars earned, m.