The triangles ABD, ADC and ABC are similar (AA stands for "angle, angle" and means that the triangles have two of their angles equal).
If two triangles have two of their angles equal, the triangles are similar.
Therefore the sides of triangles are in proportion.

cross multiply


cross multiply

The length of side b we can be calculated using the Pythagorean theorem:

Answer:
a = 20; b = 15; c = 12