Answer:
50 meters
Step-by-step 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:
![\begin{gathered} x=\sqrt[]{30^2+40^2} \\ x=\sqrt[]{900+1600} \\ x=\sqrt[]{2500} \\ x=50 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/sn8sz98qjpsrt866q5kfgtbi7w01xsq89e.png)
Therefore, the answer is 50 meters