In a right triangle, one of the legs is 6 units long, and the hypotenuse is 10 units long. Another right triangle is constructed such that one of its legs is equal to the hypotenuse of the first triangle, and the other leg is 8 units long. What is the ratio of the area of the first triangle to the area of the second triangle? Simplify the ratio to relatively prime integers. Let's think step by step and output the final answer within \boxed{}.
user