Year 9 (ages 13–14, Grade 8 in the US) · Maths · Straight line graphs · Lesson 2
Finding and rearranging line equations
Find the equation of a straight line through two points or parallel to a given line through a point, and rearrange linear equations into y = mx + c.

29-minute video lesson
Teaching, worked examples and 20 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Find the equation through two points
- Find a parallel line through a point
- Rearrange to y = mx + c
- Test whether a point is on a line
The method
- Find the gradient m (or use the parallel line's).
- Write y = mx + c.
- Put in a point to find c.
- Check with another point.
Key words: gradient, y-intercept, parallel, rearrange, substitute.
Worked examples
Worked examples from the lesson, with every step.
Question 1
Find the equation of the line through (0, 3) and (1, 5).
- Step 1: gradient = change in y ÷ change in x
- Step 2: change in y: 5 − 3 = 2
- Step 3: change in x: 1 − 0 = 1
- Step 4: gradient = 2 ÷ 1 = 2
- Step 5: y = 2x + c
- Step 6: Put in (0, 3): 3 = 2 × 0 + c
- Step 7: 3 = 0 + c, so c = 3
- Step 8: Check (1, 5): 2 × 1 + 3 = 5
Answer: y = 2x + 3
Question 2
Find the equation of the line through (1, 2) and (2, 6).
- Step 1: gradient = change in y ÷ change in x
- Step 2: change in y: 6 − 2 = 4
- Step 3: change in x: 2 − 1 = 1
- Step 4: gradient = 4 ÷ 1 = 4
- Step 5: y = 4x + c
- Step 6: Put in (1, 2): 2 = 4 × 1 + c
- Step 7: 2 = 4 + c, so c = −2
- Step 8: Check (2, 6): 4 × 2 + (−2) = 6
Answer: y = 4x − 2
Question 3
Find the equation of the line through (2, 1) and (4, 5).
- Step 1: gradient = change in y ÷ change in x
- Step 2: change in y: 5 − 1 = 4
- Step 3: change in x: 4 − 2 = 2
- Step 4: gradient = 4 ÷ 2 = 2
- Step 5: y = 2x + c
- Step 6: Put in (2, 1): 1 = 2 × 2 + c
- Step 7: 1 = 4 + c, so c = −3
- Step 8: Check (4, 5): 2 × 4 + (−3) = 5
Answer: y = 2x − 3