One suggestion is to start by drawing a diagram. I find it easier to work with what I can visualize.
Now, you might be familiar with the term hypotenuse, and probably Pythagorean theorem, which can be used to find any side of a right triangle if given the two other sides.
In this case we are given the length of two sides of a right triangle. The height of the ramp, 7 feet, and the distance of the base of the ramp, 17 feet.
Pythagorean theorem is generally written as a² + b² = c², where c = hypotenuse. To find hypotenuse we must get it by itself. It is being squared in this form. So to get c by itself(or to isolate c) we must use the opposite operator of c(²) (squaring) which is square rooting (√). What we do to one side we must do to both so now our equation looks like √(a² + b²) = c .
a and b are the base and height. It doesn't matter which you plug in for a or b due to commutative property.
I would suggest using a calculator. If you are not comfortable with using parenthesis with your calculator either plug it in just like the way I typed it or do the squaring and addition first then square root the sum of the two sides after they have been squared.