How do you solve this using the following formulas?
A right triangle has a hypotenuse of 12 cm. Find the lengths of the legs A and B so that the area of the triangle will be a maximum. Find the area. Round the answers to the nearest hundredth.
A =1/2 AB and A^2 + B^2 = 12^2