The total cost of 1 pencil and 2 erasers is £8, and the total cost of 2 pencils and 4 erasers is £20, as shown below:

Let the cost of 1 pencil be £x, and the cost of 1 eraser be £y. Write two linear equations in x and y: