I had a test today but I was not able to solve this one:

What is AB and DC

BD^2=30^2-DC^2

BD^2=AB^2-32^2

I have no use if I equal BD^2 because I had still two unknows.

I will eat my hat if somebody shows me successful solution.

EDIT:Oyeeeha, I got it done. I tried to find the solution a lot of time but I found it at least.

Btw, drawing is little bit wrong.