Example 1
Write the line with slope −2 through (3, 1).
- 1 = −2 × 3 + b.
- 1 = −6 + b, so b = 7.
Answer: y = −2x + 7
📈 Algebra 1, Grade 8 · session 4 of 47 · 60 minutes · 🎁 free with an account
Now go the other way: from information about a line to its equation. A slope and a point, two points, a table, a real story, point-slope form and parallel lines all lead to y = mx + b.

A complete lesson · 60 minutes
Open this page with your learner and work down it, or press Teach this lesson to go through it one step at a time on a big screen. Every section has something to do.
Grade 8 · ages 13 to 14 · NJSLS Algebra 1 · McDougal Littell order
Warm-up · think first
₹150 an hour (₹300 more for 2 more hours), and a ₹200 call-out fee (350 − 150).
Teacher tip: That is exactly writing a line from two points: the rate is m and the fee is b.
Three levels, like a real engineer
First use what the lesson shows exactly as it is, then change one key thing and see what happens, then make your own.
Level 1 · Use it
Run the example with slope −2 through (3, 1) exactly. Put 3 and 1 into y = −2x + b, find b, and notice how one point locks the whole line.
Level 2 · Tweak it
In that same line, change the slope to 3 and keep the point (3, 1). Predict the new b before you solve, then check if your line still hits that point.
Level 3 · Build it
Invent your own story or table, like a phone plan: ₹299 for 2 GB, ₹449 for 5 GB. Write its linear equation, then test it by predicting the price for 8 GB.
Part 1 of 4 · learn, see, practise
You know m, so y = mx + b with only b missing. Put the point's x and y into the equation and solve for b.
Slope 3 through (1, 7): 7 = 3 × 1 + b, so b = 4 and the line is y = 3x + 4.
Write the line with slope −2 through (3, 1).
Answer: y = −2x + 7
Start with the warm-up and go as far as you can. The stretch questions are meant to be hard.
🎁 Free for a year
Every new account opens every lesson of every course free for a whole year: no payment, no card, nothing to cancel.
Unlocking the rest of this lesson gives you:
It takes a minute. Anyone under 13 signs up with a parent. The first 2 lessons of every course, every game and all maths practice stay free.
FAQ
Any correct form gets the marks, but slope-intercept form (y = mx + b) is easiest to graph and to compare. Point-slope form is quickest when you know a point and the slope.
Start a conversation
Tell us the learner's age and level. A teacher from our network teaches with these lessons; we confirm timing and price first.