Hello guys, I need help with the following problem:

A circle is inscribed in a right triangle with point P common to both the circle and hypotenuse AB. Find the area of the triangle if AP*BP=24 (hint: sketch a triangle!)

here's the drawing I made (see attached) and the work I have so far:

1. Basically, what I did was draw a point on the middle of the circle. From there, I connected the the segments AB, BC, and AC with a perpendicular line from point O. Then, I named AC "side b" and BC "side a". Next, I connected point O with the vertices A and B.

2. Now, triangles AOP and AOF are congruent as well as triangles BOP and BOE. Also, OF is parallel to BC and OE is parallel to AC. Thus, CF = CE = radius of circle, so AF = side b - radius (r) and BE = side a - r

3. By the congruent triangles, AP = b-r and BP = a - r

combining the results (AP = b-r and BP = a - r) I wrote a quadratic equation in r and I got: r = (a+b+c/2) where c is the hypotenuse (AB)

From here, I don't know what to do next. I'm confused and I have no idea about how to find the two legs (the legs are needed to find the area because one is the height and the other the base). Any form of help is appreciated. Please help me!!!

Thank you very much!