Answer:
a. Required system of equations is:
c+p = 10
5c+4p = 46
b. 6 cakes were sold
Explanation:
Let p be the number of pies and c be the number of cakes.
Then according to given statement " the store sold 10 baked goods"
![c+p = 10\ \ \ Eqn\ 1](https://img.qammunity.org/2021/formulas/mathematics/high-school/s7r30p94zuoluvnrvvrkxf2rguyhupi4qi.png)
And
"A cake costs $5 and a pie costs $4"
![5c+4p = 46\ \ \ \ Eqn\ 2](https://img.qammunity.org/2021/formulas/mathematics/high-school/yg6uo46cx7o691oln0covqpgcya5wp4l21.png)
Using equation 1,
![c=10-p](https://img.qammunity.org/2021/formulas/mathematics/high-school/n2bh7ad22ik9288zboowibg65d9bneyb25.png)
Putting this value of c in equation 2:
![5(10-p)+4p = 46\\50-5p+4p = 46\\-p = 46-50\\-p = -4\\p = 4](https://img.qammunity.org/2021/formulas/mathematics/high-school/jzvfab19rwkrvtnr9v95shv3r1cj6ibayl.png)
Putting p = 4 in equation 1
![c+4 = 10\\c = 10-4\\c =6](https://img.qammunity.org/2021/formulas/mathematics/high-school/nry03on01xlf6nilvpvhiqhqbakaiagmlh.png)
Hence,
a. Required system of equations is:
c+p = 10
5c+4p = 46
b. 6 cakes were sold