Respuesta :

Put 2 where p is, then do the arithmetic.
  f(2) = 3×2 -2
  f(2) = 6 -2 = 4

The output of the function is 4 when the input is 2.