The function passes through points (-2,-2) and (0,4).
The general formula for the slope of the linear function is,
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Determine the slope of linear function.
[tex]\begin{gathered} m=\frac{4-(-2)}{0-(-2)} \\ =\frac{6}{2} \\ =3 \end{gathered}[/tex]Thus slope of linear function is 3.