32 - 34 Maxima and minima problems of a rectangle inscribed in a triangle

Problem 32
Find the dimension of the largest rectangular building that can be placed on a right-triangular lot, facing one of the perpendicular sides.

Solution:

 

Problem 33
A lot has the form of a right triangle, with perpendicular sides 60 and 80 feet long. Find the length and width of the largest rectangular building that can be erected, facing the hypotenuse of the triangle.

Solution:

 

Problem 34
Solve Problem 34 above if the lengths of the perpendicular sides are a, b.

Solution: