Consider a right triangle ABC with right angle at C. Let AB=12 units and BC=5 units. A square is inscribed in this triangle with one side lying along the hypotenuse AB, and the other two vertices touching the legs AC and BC. Find the area of the inscribed square.