From the statement, we know that
[tex]\begin{gathered} g(x)=3x-4 \\ p(x)=(g(x))^2 \end{gathered}[/tex]Then, an equivalent equation for the function p(x), can be
[tex]p(x)=(3x-4)^2[/tex]And for the other equivalent equation, you can expand the expression obtained above: