What general type of problem is this? You're trying to maximize the area of the rectangle, so this is an optimization problem.
You should try to draw a picture in order to get a better handle on what the question is asking. Your picture should look something like the following.