write the rule anf find the missing input.

input out put
0 5
3 14
x 32

rule: 3 times input, add 5

x=9