A number machine is shown below.
INPUT
ADD 9
MULTIPLY
BY 5
OUTPUT
a) Calculate the INPUT when the OUTPUT is 40.
[2]
b) Calculate the OUTPUT when the INPUT is n.
+
[2]