Help me with word problem on cause pythagorean theorem word problem number 1

Given:
The coordinates of the right triangle DEF are, D(1, 2), E(7, 2), and F(1, 9).
To find the distance between E and F:
Using the distance formula,
[tex]d=\sqrt[]{(x_2-x_1)^2+(y_2-y_1)^2}[/tex]Substituting the coordinates E and F are,
[tex]\begin{gathered} d=\sqrt[]{(1-7)^2+(9-2)^2} \\ =\sqrt[]{(-6)^2+(7)^2} \\ =\sqrt[]{36+49} \\ =\sqrt[]{85} \\ =9.2195 \\ \approx9.2\text{ units.} \end{gathered}[/tex]Hence, the distance between E and F is 9.2units.