Tanya runs diagonally across a rectangular field that has a length of 40 yards and a width of 30 yards, as shown in the diagram. What is the length of the diagonal, in yards, that Tanya runs?