Overlapping triangles
In the diagram below, DE is parallel to BC. The small triangle ADE and the big triangle ABC share angle A, and the parallel lines make angle ADE equal to angle ABC. Two pairs of equal angles, so triangle ADE ~ triangle ABC.
The trap: the side of the big triangle is AB, not DB. Always use whole sides. Redrawing the two triangles side by side makes this clear.
Using the Pythagorean theorem too
In similar right triangles you can find a missing side of one triangle with a² + b² = c², then use the scale factor to get the matching side of the other triangle.