Step-by-step explanation:
if we had the graph, and equations, we will have to substitute the values of x and y in it, and then the equation shall have the same value of 'm' on the equation:-
y= mx+c, where 'm' is the gradient, and 'c' is a constant.
Done.