Question 1157258
gradient and slope are technically not the same, however, for purposes of your problem, they can be considered the same.


in your problem, the gradient is -2.
this means the slope is -2.
the slope intercept form of the equation of a straight line is y = mx + b.
m is the slope, b is the y-intercept.
slope = change in y divided by corresponding change in x = -2, in this case.
formula becomes y = -2 * x + b
use the point to find the y-intercept by replacing y with 7 and x with 1 to get:
7 = 1 * -2 + b
simplify to get 7 = -2 + b
solve for b to get b = 9
formula becomes y = -2 * x + 9
that's your solution.
replace x with 1 and solve for y to get y = -2 * 1 + 9 = 7.
the coordinate point of (x,y) = (1,7) is on the line, as it should be.