Final answer:
Substituting x=5 into the equation y=-2x+17 gives y=7, so y equals 7 when x is 5.
Step-by-step explanation:
To find the value of y when x=5 for the equation y=-2x+17, simply substitute the value of 5 for x and calculate y:
y = -2(5) + 17
y = -10 + 17
y = 7
Therefore, when x equals 5, the value of y is 7.