1. C is the right angle so AB is the hypotenuse and AD is the altitude to the hypotenuse.
The hypotenuse is

The area calculations must match. Let h=CD


Answer: 12
2. This is the same triangle as above. We seek x=AD and DB=25-x


AD=9 and DB=25-9=16
Answer: AD=9, DB=16