2. If the printed area is determined by the width x and the length y the area of the sheet of paper is:
3. Additional condition:
Solve this equation for y and plug in the term into the first equation. You'll get the function:
4. Differentiate A wrt x and solve the equation A'(x) = 0 for x.
I'll leave the rest for you.