It appears that you used the Pythagorean Theorem with 3 and 5 as the legs. However, the ramp is the hypotenuse of the right triangle. The correct equation to use is: