First, calculatge the slope using the slope formula:

m = (y1 - y2) / (x1 - x2)

m = (9 - 7) / (-6 - -7)

m = 2/1

m = 2

Now substitute 2 in for m in the slope-intercept equation.

y = mx + b

y = 2x + b

Now you need to find b, which represents the y-intercept. Select one of the points and substitute these values in for x and y.

7 = 2(-7) + b

7 = -14 + b

21 = b

You can use the other point to check this.

9 = 2(-6) + b

9 = -12 + b

21 = b

We know the slope is 2 and the y-intercept is 21.

**Equation: y = 2x + 21**

Graph the equation and you can see that the line passes through both given points.

## We’ll help your grades soar

Start your 48-hour free trial and unlock all the summaries, Q&A, and analyses you need to get better grades now.

- 30,000+ book summaries
- 20% study tools discount
- Ad-free content
- PDF downloads
- 300,000+ answers
- 5-star customer support

Already a member? Log in here.

Are you a teacher? Sign up now