Number machines

This task is about completing number pairs and writing equations for 'number machines'.
 
This is a machine that changes numbers. If you put 3 into the machine 16 comes out. If you put 2 into the machine 11 comes out. If you put 8 into the machine 41 comes out.
 
a)
Complete the following number pairs using the rule for the number machine.
 
(2, 11)   (3, 16)   (4, ____ )   (6, ____ )   (8, 41)   (9, ____ )
 
b) Write an equation to show the rule for the number machine. Use n to represent the number going in to the machine.
 

 
 
c)
Machine B produces different numbers. Complete the following number pairs to show the pattern for Machine B.
 
(2, 12)   (3, 19)   (4, ____ )   (6, ____ )   (8, 54)   (9, ____ )  
 
d) Write an equation to show the rule for Machine B. Use n to represent the number going in to the machine.
 

 
 
e)
Machine C also produces different numbers. Complete the following number pairs to show the pattern for Machine C.

(2, 7)   (3, 12)   (4, ____ )   (6, ____ )   (8, 37)   (9, ____ )  

 
f) Write an equation to show the rule for Machine C.  Use n to represent the number going in to the machine.