45 Chips chocolates cookies
38 sugar cookies
9 peanut butter cookies
Explanation
Step 1
make the equations:
let
x represents the number of chocolate chips cookies he sold
y represents the number of sugar cookies he sold
z represents the number of peanut butter cookies he sold
hence, let's traslate
a)Bob sold 5 times as many chocolate chips cookies as peanut butter
[tex]x=5z\Rightarrow equation(1)[/tex]b)Bob sold 7 fewer sugar cookies than chocolate cookies
[tex]y=x-7\Rightarrow equation(2)[/tex]c)Bob sold 9 peanut butter
[tex]z=9\Rightarrow equation(3)[/tex]Step 2
solve the equations
a) replace the z value from equation (3)
[tex]\begin{gathered} x=5z\Rightarrow equation(1) \\ x=5(9) \\ x=45 \end{gathered}[/tex]therefore, he sold 45 chips chocolate cookies
b)now, replace the x value into equation (2) to find y
[tex]\begin{gathered} y=x-7\Rightarrow equation(2) \\ y=45-7 \\ y=38 \end{gathered}[/tex]it means he sold 38 sugar cookes
I hope this helps you