The sides are proportional in similar triangles, so . You get by substituting the given values into the equation.