Answer:
y = -2x + 9.
Steps:
The equation of a line in slope-intercept form is given by y = mx + c, where m is the gradient or slope and c is the y-intercept.
Given that the slope of the line is -2 and it passes through the point (1,7), you can substitute these values into the equation:
7 = -2*1 + c
7 = -2 + c
Solving for c, we then get c = 7 + 2 = 9.
So, the equation of the line is y = -2x + 9.