---
title: "Practice: Coordinates and Straight-Line Graphs"
description: "40 practice problems for Coordinates and Straight-Line Graphs in Maths"
slug: coordinates-and-straight-line-graphs-practice
canonical: https://learn.modernagecoders.com/resources/maths/coordinates-and-straight-line-graphs/practice/
category: "Maths"
---
# Practice: Coordinates and Straight-Line Graphs

**Total questions:** 40

## Topic-Specific Questions

### Q1. [Easy] In which quadrant does the point (-4, 6) lie?

*Hint:* Look at the sign of each coordinate: negative x means left, positive y means up.

**Answer:** The **second quadrant** (top left).

x = -4 is negative, so the point is left of the y-axis. y = 6 is positive, so it is above the x-axis. Left and up is the top-left region, the second quadrant.

### Q2. [Easy] Write down the coordinates of the point that is 5 units to the left of the origin and 2 units below it.

*Hint:* Left means negative x, down means negative y.

**Answer:** **(-5, -2)**

Moving left 5 gives x = -5. Moving down 2 gives y = -2. Write x first: (-5, -2). This point is in the third quadrant.

### Q3. [Easy] Find the midpoint of (0, 0) and (10, 6).

*Hint:* Average the x values, then average the y values.

**Answer:** **(5, 3)**

x: (0 + 10) ÷ 2 = 5. y: (0 + 6) ÷ 2 = 3. The midpoint is (5, 3).

### Q4. [Easy] Complete the table for y = 2x + 3 when x = -2, -1, 0, 1 and 2.

*Hint:* Double x, then add 3.

**Answer:** y = **-1, 1, 3, 5, 7**

x = -2: 2 × (-2) + 3 = -4 + 3 = -1. x = -1: -2 + 3 = 1. x = 0: 3. x = 1: 5. x = 2: 7. The y values rise by 2 each time, matching the gradient 2.

### Q5. [Easy] Write down the gradient and the y-intercept of y = 5x - 7.

*Hint:* Compare with y = mx + c.

**Answer:** Gradient **5**, y-intercept **-7**, so the line crosses the y-axis at (0, -7).

The number multiplying x is m = 5. The constant is c = -7. Keep the minus sign with the 7.

### Q6. [Easy] Write down the equation of the horizontal line through (4, -3).

*Hint:* On a horizontal line, which coordinate stays the same?

**Answer:** **y = -3**

Every point on a horizontal line has the same y value. This line passes through a point with y = -3, so its equation is y = -3. The x value, 4, does not matter.

### Q7. [Medium] Find the gradient of the line through (2, 1) and (6, 9).

*Hint:* Change in y on top, change in x on the bottom.

**Answer:** **2**

Change in y = 9 - 1 = 8. Change in x = 6 - 2 = 4. Gradient = 8 ÷ 4 = 2.

### Q8. [Medium] Find the gradient of the line through (-3, 4) and (3, -8).

*Hint:* Be careful when subtracting a negative number.

**Answer:** **-2**

Change in y = -8 - 4 = -12. Change in x = 3 - (-3) = 6. Gradient = -12 ÷ 6 = -2. The line goes downhill from left to right, so a negative gradient makes sense.

### Q9. [Medium] Find the midpoint of (-4, 7) and (6, -1).

*Hint:* Add the x values and halve, then do the same for y.

**Answer:** **(1, 3)**

x: (-4 + 6) ÷ 2 = 2 ÷ 2 = 1. y: (7 + (-1)) ÷ 2 = 6 ÷ 2 = 3. The midpoint is (1, 3).

### Q10. [Medium] Rearrange 4x + 2y = 10 into the form y = mx + c, and state the gradient and y-intercept.

*Hint:* Subtract 4x from both sides, then divide everything by 2.

**Answer:** **y = -2x + 5**: gradient -2, y-intercept 5.

4x + 2y = 10. Subtract 4x: 2y = -4x + 10. Divide every term by 2: y = -2x + 5. So m = -2 and c = 5.

### Q11. [Medium] Does the point (3, 11) lie on the line y = 4x - 1? Show how you know.

*Hint:* Substitute x = 3 and see if you get y = 11.

**Answer:** **Yes**, because 4 × 3 - 1 = 11.

When x = 3, the line gives y = 4 × 3 - 1 = 12 - 1 = 11. That matches the y coordinate of the point, so (3, 11) is on the line.

### Q12. [Medium] Where does the line y = 3x - 12 cross the x-axis?

*Hint:* Every point on the x-axis has y = 0.

**Answer:** At **(4, 0)**.

Set y = 0: 0 = 3x - 12. Add 12: 12 = 3x. Divide by 3: x = 4. The crossing point is (4, 0).

### Q13. [Hard] Find the equation of the line through (1, -2) and (4, 7).

*Hint:* Find the gradient first, then substitute one point to find c.

**Answer:** **y = 3x - 5**

m = (7 - (-2)) ÷ (4 - 1) = 9 ÷ 3 = 3. So y = 3x + c. Substitute (1, -2): -2 = 3 + c, so c = -5. Check with (4, 7): 3 × 4 - 5 = 7. Correct.

### Q14. [Hard] Find the equation of the line that is parallel to y = -2x + 9 and passes through (4, 3).

*Hint:* Parallel lines have the same gradient.

**Answer:** **y = -2x + 11**

The gradient is -2, so y = -2x + c. Substitute (4, 3): 3 = -2 × 4 + c = -8 + c, so c = 11. Check: -2 × 4 + 11 = 3. Correct.

### Q15. [Hard] The midpoint of AB is M(3, 5). Point A is (1, 2). Find the coordinates of B.

*Hint:* The step from A to M is the same as the step from M to B.

**Answer:** **B = (5, 8)**

From A to M, x goes up by 3 - 1 = 2 and y goes up by 5 - 2 = 3. Repeat the same step from M: x = 3 + 2 = 5, y = 5 + 3 = 8. Check the midpoint of (1, 2) and (5, 8): ((1 + 5) ÷ 2, (2 + 8) ÷ 2) = (3, 5). Correct.

## Mixed Questions

### Q1. [Easy] A taxi charges a starting fee of 3 plus 1.50 for every kilometre. Write an equation for the cost C of a journey of d kilometres, and find the cost of a 12 km journey.

*Hint:* Fixed amount = intercept, rate per kilometre = gradient.

**Answer:** **C = 1.5d + 3**; a 12 km journey costs **21**.

The cost starts at 3 and rises by 1.50 per km, so C = 1.5d + 3. For d = 12: C = 1.5 × 12 + 3 = 18 + 3 = 21.

### Q2. [Medium] A fully charged phone battery (100%) loses 8% of its charge every hour. Write an equation for the charge B after t hours, state the gradient, and find when the charge reaches 20%.

*Hint:* The charge goes down, so the gradient is negative.

**Answer:** **B = 100 - 8t** (gradient -8); the charge reaches 20% after **10 hours**.

The starting charge is 100 and it falls by 8 each hour, so B = -8t + 100, gradient -8. Set B = 20: 20 = 100 - 8t, so 8t = 80 and t = 10 hours.

### Q3. [Medium] Find the gradient of the line through (1, 2) and (7, 6). Give your answer as a fraction in its simplest form.

*Hint:* Write rise over run as a fraction, then simplify.

**Answer:** **2/3**

Change in y = 6 - 2 = 4. Change in x = 7 - 1 = 6. Gradient = 4/6, which simplifies (divide top and bottom by 2) to 2/3.

### Q4. [Medium] A road sign warns of a 12% gradient. This means the road rises 12 m for every 100 m measured horizontally. How much does the road rise over a horizontal distance of 250 m?

*Hint:* 12% as a decimal is 0.12.

**Answer:** **30 m**

The gradient is 12 ÷ 100 = 0.12. Rise = gradient × run = 0.12 × 250 = 30 m.

### Q5. [Medium] The point (k, 13) lies on the line y = 3x - 2. Find k.

*Hint:* Substitute y = 13 and x = k, then solve the equation.

**Answer:** **k = 5**

13 = 3k - 2. Add 2: 15 = 3k. Divide by 3: k = 5. Check: 3 × 5 - 2 = 13.

### Q6. [Hard] Find the point where the lines y = 2x + 1 and y = -x + 7 cross.

*Hint:* At the crossing point both y values are equal.

**Answer:** **(2, 5)**

Set 2x + 1 = -x + 7. Add x to both sides: 3x + 1 = 7. Subtract 1: 3x = 6, so x = 2. Then y = 2 × 2 + 1 = 5. Check in the other line: -2 + 7 = 5. Correct.

### Q7. [Hard] A gym charges a one-off joining fee plus the same amount every month. After 2 months a member has paid 70 in total. After 5 months the total is 145. Find the monthly fee, the joining fee, and an equation for the total cost C after n months.

*Hint:* Treat (2, 70) and (5, 145) as two points on a straight line.

**Answer:** Monthly fee **25**, joining fee **20**, **C = 25n + 20**.

Gradient = (145 - 70) ÷ (5 - 2) = 75 ÷ 3 = 25 per month. So C = 25n + c. Substitute (2, 70): 70 = 50 + c, so c = 20, the joining fee. Check: 25 × 5 + 20 = 145. Correct.

### Q8. [Hard] Temperatures convert from Celsius (C) to Fahrenheit (F) using F = 1.8C + 32. (a) What do the gradient and intercept tell you? (b) Find C when F = 50. (c) At what temperature are the two readings equal?

*Hint:* For (c), replace F with C and solve.

**Answer:** (a) Each 1 °C rise is a 1.8 °F rise, and 0 °C is 32 °F. (b) **10 °C**. (c) **-40** (-40 °C = -40 °F).

(a) The gradient 1.8 is how many °F the temperature rises per 1 °C. The intercept 32 is the Fahrenheit reading at 0 °C, the freezing point of water. (b) 50 = 1.8C + 32, so 1.8C = 18 and C = 10. (c) Set F = C: C = 1.8C + 32, so -0.8C = 32 and C = 32 ÷ (-0.8) = -40.

## Multiple Choice Questions

### Q1. [Easy] What are the coordinates of the origin?

A. (1, 1)
B. (0, 0)
C. (0, 1)
D. (1, 0)

**Answer:** B

**B is correct.** The origin is where the axes cross, at 0 on both, so it is (0, 0). (1, 1) is one step up and right of the origin. (0, 1) lies on the y-axis and (1, 0) lies on the x-axis.

### Q2. [Easy] In which quadrant is the point (3, -2)?

A. First
B. Second
C. Third
D. Fourth

**Answer:** D

**D is correct.** x is positive (right) and y is negative (down), which is the bottom-right, fourth quadrant. The first quadrant needs both positive, the second needs negative x and positive y, and the third needs both negative.

### Q3. [Easy] What is the gradient of y = -4x + 6?

A. -4
B. 6
C. 4
D. -6

**Answer:** A

**A is correct.** The gradient is the number multiplying x, including its sign: -4. 6 is the y-intercept, not the gradient. 4 drops the minus sign, and -6 has the wrong number and sign.

### Q4. [Easy] What does the line x = 5 look like?

A. A horizontal line
B. A vertical line
C. A diagonal line through the origin
D. The x-axis

**Answer:** B

**B is correct.** Every point on x = 5 has x coordinate 5, so the points are stacked straight up and down. A horizontal line would be y = 5. A diagonal through the origin would be like y = x. The x-axis is y = 0.

### Q5. [Medium] Where does the line y = 7 - 2x cross the y-axis?

A. (7, 0)
B. (0, -2)
C. (0, 7)
D. (3.5, 0)

**Answer:** C

**C is correct.** On the y-axis x = 0, so y = 7 - 0 = 7, giving (0, 7). (7, 0) swaps the coordinates. -2 is the gradient, not the intercept. (3.5, 0) is where the line crosses the x-axis.

### Q6. [Medium] What is the gradient of the line through (0, 3) and (4, 1)?

A. 2
B. -2
C. ½
D. -½

**Answer:** D

**D is correct.** (1 - 3) ÷ (4 - 0) = -2 ÷ 4 = -½. Options A and B have rise and run upside down (4 ÷ 2). Option C forgets that the line goes downhill, so the sign must be negative.

### Q7. [Medium] Which line is parallel to y = 3x + 1?

A. y = 3x - 4
B. y = -3x + 1
C. y = x + 3
D. y = ⅓x + 1

**Answer:** A

**A is correct.** Parallel lines share the same gradient, 3. Option B has gradient -3, a different direction. Option C has gradient 1. Option D has gradient ⅓. Only the intercepts may differ between parallel lines.

### Q8. [Medium] What is the midpoint of (2, -6) and (8, 4)?

A. (3, 5)
B. (5, -1)
C. (10, -2)
D. (6, 10)

**Answer:** B

**B is correct.** ((2 + 8) ÷ 2, (-6 + 4) ÷ 2) = (5, -1). Option C adds but forgets to halve. Option D subtracts instead of averaging. Option A halves the differences instead of averaging the coordinates.

### Q9. [Medium] Which point lies on the line y = 2x - 3?

A. (1, 1)
B. (0, 3)
C. (4, 5)
D. (2, 4)

**Answer:** C

**C is correct.** When x = 4, y = 8 - 3 = 5. For (1, 1) the line gives y = -1. For (0, 3) it gives y = -3 (the sign of c has been flipped). For (2, 4) it gives y = 1.

### Q10. [Hard] What is the gradient of the line 3y = 6x - 9?

A. 6
B. -9
C. -3
D. 2

**Answer:** D

**D is correct.** Divide every term by 3: y = 2x - 3, so the gradient is 2. Option A reads the gradient before dividing. Option B is the constant before dividing. Option C is the y-intercept after dividing.

### Q11. [Hard] A line is perpendicular to y = 2x + 5. What is its gradient?

A. -½
B. 2
C. ½
D. -2

**Answer:** A

**A is correct.** Perpendicular gradients multiply to -1, and 2 × (-½) = -1. Option B is the parallel gradient. Option C flips the number but forgets to change the sign. Option D changes the sign but forgets to flip.

### Q12. [Hard] Which is the equation of the line with gradient 3 that passes through (0, -1)?

A. y = -x + 3
B. y = 3x + 1
C. y = 3x - 1
D. y = -3x - 1

**Answer:** C

**C is correct.** The point (0, -1) is on the y-axis, so c = -1, and m = 3, giving y = 3x - 1. Option A swaps m and c. Option B has the wrong sign for c. Option D has the wrong sign for m.

## Coding Challenges

### Challenge 1. Investigating a triangle on a grid

**Difficulty:** Medium

A triangle has corners A(1, 1), B(7, 1) and C(4, 7).

Find the gradients of AC and BC.Find the midpoint M of AB.Write down the equation of the line through C and M.Find the area of the triangle.What type of triangle is ABC? Use your answers to explain.

**Solution:** AC: (7 - 1) ÷ (4 - 1) = 6 ÷ 3 = 2. BC: (7 - 1) ÷ (4 - 7) = 6 ÷ (-3) = -2.M = ((1 + 7) ÷ 2, (1 + 1) ÷ 2) = (4, 1).C(4, 7) and M(4, 1) both have x = 4, so the line is **x = 4**, a vertical line.AB is horizontal with length 7 - 1 = 6. The height is the vertical distance from C to AB: 7 - 1 = 6. Area = ½ × 6 × 6 = **18 square units**.The gradients of AC and BC are equal in size but opposite in sign, and the line x = 4 through C and the midpoint of AB splits the triangle into two mirror images. So the triangle is **isosceles**, with AC = BC, and x = 4 is its line of symmetry.

### Challenge 2. Comparing two phone plans

**Difficulty:** Medium

Plan A costs 15 a month plus 0.10 per text. Plan B costs 5 a month plus 0.30 per text.

Write an equation for the monthly cost C of each plan for n texts.Find the number of texts for which the two plans cost the same, and that cost.Which plan is cheaper for someone who sends 80 texts a month, and by how much?Describe what the graphs of the two plans would look like on the same axes.

**Solution:** Plan A: **C = 0.1n + 15**. Plan B: **C = 0.3n + 5**.Set them equal: 0.1n + 15 = 0.3n + 5. Subtract 0.1n: 15 = 0.2n + 5. Subtract 5: 10 = 0.2n. Divide by 0.2: **n = 50 texts**. Cost = 0.1 × 50 + 15 = **20** (check: 0.3 × 50 + 5 = 20).n = 80: Plan A = 8 + 15 = 23. Plan B = 24 + 5 = 29. **Plan A is cheaper by 6.**Both are straight lines. Plan B starts lower (intercept 5) but is steeper (gradient 0.3). Plan A starts higher (intercept 15) but is less steep (gradient 0.1). They cross at (50, 20): below 50 texts Plan B is cheaper, above 50 texts Plan A is cheaper.

### Challenge 3. Are three points in a straight line?

**Difficulty:** Hard

Show that the points A(1, 2), B(3, 8) and C(6, 17) all lie on one straight line (they are **collinear**), and find the equation of that line. Then find where the line crosses the x-axis.

**Solution:** Gradient AB = (8 - 2) ÷ (3 - 1) = 6 ÷ 2 = 3.

Gradient BC = (17 - 8) ÷ (6 - 3) = 9 ÷ 3 = 3.

AB and BC have the same gradient *and* share the point B, so they must be parts of the same line. The points are collinear.

Equation: y = 3x + c. Using A(1, 2): 2 = 3 + c, so c = -1. The line is **y = 3x - 1**. Check B: 9 - 1 = 8. Check C: 18 - 1 = 17. Both correct.

x-axis: 0 = 3x - 1, so x = ⅓. The line crosses at **(⅓, 0)**.

Note: equal gradients alone would only show the segments are parallel. It is the shared point B that proves they lie on one line.

### Challenge 4. The missing corner of a parallelogram

**Difficulty:** Hard

ABCD is a parallelogram with A(0, 0), B(5, 1) and C(7, 5), with the corners in that order around the shape.

Find the coordinates of D.Use gradients to check that opposite sides are parallel.Find the midpoints of the diagonals AC and BD. What do you notice?

**Solution:** In a parallelogram, the step from B to C equals the step from A to D. From B(5, 1) to C(7, 5) is 2 across and 4 up. So D = (0 + 2, 0 + 4) = **(2, 4)**.AB: (1 - 0) ÷ (5 - 0) = 1/5. DC: (5 - 4) ÷ (7 - 2) = 1/5. Parallel. AD: (4 - 0) ÷ (2 - 0) = 2. BC: (5 - 1) ÷ (7 - 5) = 2. Parallel. Both pairs of opposite sides are parallel, as they should be.Midpoint of AC = ((0 + 7) ÷ 2, (0 + 5) ÷ 2) = (3.5, 2.5). Midpoint of BD = ((5 + 2) ÷ 2, (1 + 4) ÷ 2) = (3.5, 2.5). **They are the same point**: the diagonals of a parallelogram cut each other in half (they bisect each other).

### Challenge 5. The perpendicular bisector

**Difficulty:** Hard

A and B are the points (2, 3) and (8, 7). The **perpendicular bisector** of AB is the line that passes through the midpoint of AB at right angles to it. Every point on it is the same distance from A as from B.

Find the midpoint of AB.Find the gradient of AB and the gradient of a line perpendicular to it.Find the equation of the perpendicular bisector in the form y = mx + c, and also in a form with no fractions or decimals.

**Solution:** Midpoint = ((2 + 8) ÷ 2, (3 + 7) ÷ 2) = **(5, 5)**.Gradient of AB = (7 - 3) ÷ (8 - 2) = 4 ÷ 6 = 2/3. Perpendicular gradient: flip and change sign to get **-3/2**. Check: 2/3 × (-3/2) = -1.y = -1.5x + c. Substitute (5, 5): 5 = -7.5 + c, so c = 12.5. The line is **y = -1.5x + 12.5**. Multiply every term by 2: 2y = -3x + 25, which can be written **3x + 2y = 25**. Check (5, 5): 15 + 10 = 25. Correct.A town planner could use this line to find every place that is the same distance from two schools.

---

*Notes: https://learn.modernagecoders.com/resources/maths/coordinates-and-straight-line-graphs/*
