Suppose that the functions p and q are defined as follows in the attachment
![Suppose that the functions p and q are defined as follows in the attachment class=](https://us-static.z-dn.net/files/d20/f142d53f472b205ebf405a018f9efc49.png)
1) In this question, we need to write out two composite functions.
2) So let's start with the following composite functions and then evaluate them for x=-5:
[tex]\begin{gathered} (q\circ p)(x)=\mleft(x-2\mright)^2+1 \\ (p\circ q)(x)=-(x^2+1)+2=-x^2-1+2=-x^2+1 \end{gathered}[/tex]2.2) Now, we can evaluate those two composite functions for x=-5
[tex]\begin{gathered} (q\circ p)(x)=\mleft(x-2\mright)^2+1 \\ (q\circ p)(-5)=\mleft(\mleft(-5\mright)-2\mright)^2+1=50 \\ \\ (p\circ q)(x)=-(x^2+1)+2 \\ (p\circ q)(-5)=-((-5)^2+1)+2=-(26)+2=-24 \end{gathered}[/tex]3) Hence, the answers are:
[tex]\begin{gathered} (q\circ p)(-5)=50 \\ (p\circ q)(-5)=-24 \end{gathered}[/tex]