I really have no idea where to even begin with this word problem:
You buy an apartment building with 40 units. The previous owner charged $420 per month for a single apartment and, on average, rented 30 apartments at that price. You discover that for every $30 you raise the price of rent, another apartment stands vacant because someone can't afford it. What price should you charge for an apartment in order to maximize your revenue?
Any help would be appreciated