create an equation given the slope is -7 and a point (5,8)

Answer :

y=-7x+43. This is because you plug in the y(8) and the x(5) and the m(-7) into the y=mx+b formula and find that b is 43.