Consider the following number machine.

It performs the operations: multiply by 5, then subtract 12.
Work out the output when the input is 8.
Work out the input when the output is 18.
Practise AQA GCSE Maths Function Machines with exam-style questions for Foundation and Higher tier. 39 questions, matched to the AQA GCSE Maths (8300) specification and written in Paper 1, Paper 2 and Paper 3 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.