How far did Scarlet swim? I’m confused and would really like some help

Answer:
50 meters
Explanation:
We can represent the pool with the following diagram
So, to know how far Scarlet swam, we need to find the hypotenuse of the triangle. Using the Pythagorean theorem, we get:
[tex]\begin{gathered} x=\sqrt[]{30^2+40^2} \\ x=\sqrt[]{900+1600} \\ x=\sqrt[]{2500} \\ x=50 \end{gathered}[/tex]Therefore, the answer is 50 meters