where the red line is the distance solution
we can take a triangle, than has a right angle becase is from a square
so
and use pythagoras
[tex]\begin{gathered} 30^2+30^2=D^2 \\ D=\sqrt[]{30^2+30^2} \\ D=30\sqrt[]{2}\approx42.43 \end{gathered}[/tex]so, the distance is 42 yards