find an equation of the line having the given slope and containing the givin point

m=2,(7,5)
the equation of the line is y=

y=mx+b

find b
5=(2)(7)+b
5-14 = b
b = -9

y = 2x - 9

thanks, I have a hard time understanding this.

To find the equation of a line given the slope and a point, you can use the point-slope form of a linear equation. The point-slope form is y - y1 = m(x - x1), where m is the slope and (x1, y1) is a point on the line.

In this case, the given slope is m = 2 and the point is (7, 5). Plugging these values into the point-slope form, we get:

y - 5 = 2(x - 7)

Now, let's simplify the equation:

y - 5 = 2x - 14 (expand the parentheses)

y = 2x - 14 + 5 (add 5 to both sides)

y = 2x - 9

Therefore, the equation of the line with a slope of 2 and passing through the point (7, 5) is y = 2x - 9.