find ab if bc=2o and dc=25 on aright triangle

It would help if you proofread your questions before you posted them. Where does "d" come in?

If the two values are the sides (not the hypotenuse) of the the triangle, use the Pythagorean theorem.

20^2 + 25^2 = (ab)^2