Answers: 41 Units
You can split the rectangle into two right triangles with the side lengths 9 and 40. Then you use the Pythagorean theorem to solve for the hypotenuse (the diagonal of the rectangle). So:
C^2=9^2 + 40^2
C^2 = 1681
Square root both sides
C=41