Answer:
Step-by-step explanation:
We are solving for the variables in a system of equations:
[tex]\begin{cases}p+q=20 \\ 2p+q = 32\end{cases}[/tex]
We can eliminate the q by subtracting the first equation from the second equation:
[tex]\text{ }\ 2p+q = 32 \\ \underline{-(p+q=20)}[/tex]
[tex]p + 0 = 12[/tex]
[tex]\boxed{p=12}[/tex]
Next, we can solve for q by plugging back in the p-value we solved for:
[tex]p+q = 20[/tex]
[tex]12 + q = 20[/tex]
[tex]\boxed{q = 8}[/tex]