Need Help understanding this math.

Each will have vertices A, B and C with a point D lying on the line segment AB.

1. If AC = 15, CB = 20, angle ACB = 90â—¦ and angle ADC = 90â—¦ , what is CD?

2. If AC = 15, CB = 20, AB = 25 and CD = 12, what is AD? What is DB?