We are finished and have found that 5(f(n))=-25n+10.
We have the function g(x)=3x2 and want to find -2(g(p)). We will do it in two steps. In the first step g(x) is evaluated for p. We will do that by substituting p for x in the function rule.
Next step is to multiply the function by -2.