Answer:
a. The system of equations is:
c+p=10
5c+4p=46
b. 6 cakes were sold.
Step-by-step explanation:
Let p be the number of pies and c be the number of cakes then according to given statements
[tex]c+p=10\ \ \ eqn\ 1\\5c+4p=46\ \ \ eqn\ 2[/tex]
Using eqn 1
c= 10-p
Putting in eqn 2
[tex]5(10-p)+4p=46\\50-5p+4p=46\\50-p = 46\\-p=46-50\\-p=-4\\p=4[/tex]
Putting p=4 in eqn 1
[tex]c+p=10\\c+4=10\\c=10-4\\c=6[/tex]
Hence,,
a. The system of equations is:
c+p=10
5c+4p=46
b. 6 cakes were sold.