How do you find the value x or y so that the line through the points has the given slope?

Please help me with this! The points are:
(-7, 18) and (5, y); the slope is -2

Also can you please explain to me how this problem is solved since I have to do more of these? Thanks!

Robin2013-09-02T12:47:07Z

Favorite Answer

You are given 2 points (x1, y1), (x2, y2)
the formula of a slope:
m = (y1 - y2)/(x1 - x2)
-2 = (18 - y)/(-7 - 5)
-2(-12) = (18 - y)
24 = 18 - y
y = -6

?2013-09-02T19:51:28Z

In terms of y, the slope of the line passing through (-7, 18) and (5, y) is:
m = ∆y/∆x = (y - 18)/[5 - (-7)] = (y - 18)/12.

We want the line to have a slope of -2, so equating yields:
(y - 18)/12 = -2 ==> y = -6.