The rule for the function is "multiply by 4 add 2". Given input is 9, what is the output?

A) 40
B) 6
C) 36
D) 38