Please help me with the task: Draw a way to a safe place.

Hello, I’m working on this task:

Here is my code:


distance = sqrt((175 - 75)**2 + ( - y1)**2)

Can anyone please help me to solve it?