# Function Example 4 and 5

Example 4

Given the function $f:x↦3x+2$  , find the value of
(a)$f\left(2\right)$
(b)$f\left(-5\right)$
(c)$f\left(\frac{1}{3}\right)$

Example 5

If $f\left(x\right)={x}^{2}+3x+2$  , express each of the following in terms of x:
(a)$f\left(2x\right)$
(b)$f\left(3x+1\right)$
(c)$f\left({x}^{2}\right)$