Answer:
- The determinant of the matrix for the pineapple cake is:
![\left[\begin{array}{ccc}3520&62\\4415&79\end{array}\right]](https://img.qammunity.org/2019/formulas/mathematics/high-school/vcnd4tf8qikq8xidlhg61krpaih9cff230.png)
- The price of one pineapple cake is $ 30
- The determinant of the matrix for the chocolate cake is:
![\left[\begin{array}{ccc}45&3520\\55&4415\end{array}\right]](https://img.qammunity.org/2019/formulas/mathematics/high-school/pi3wu4es8bopez7h5byto04fhmfd1ila3e.png)
- The price of one chocolate cake is $ 35
Explanation:
Let the price of one pineapple cake is: $ x
and the price of one chocolate cake is: $ y
Now, 45 pineapple cakes and 62 chocolate cakes on the weekdays.
such that total sales were $3,520 on the weekdays.
This means the equation that can be formed is:
45x+62y=3520
Also, 55 pineapple cakes and 79 chocolate cakes over the weekend.
Total sales on weekend were $ 4415
This means that the equation is given by:
55x+79y=4415
Hence, we can form a system as:

where
![A=\left[\begin{array}{ccc}45&62\\55&79\end{array}\right]](https://img.qammunity.org/2019/formulas/mathematics/high-school/4bu4bv2x9t6o2g1w5u3sy4o9cs59owpb2q.png)
Determinant of A is:

![x=\left[\begin{array}{ccc}x\\y\end{array}\right]](https://img.qammunity.org/2019/formulas/mathematics/high-school/zww611arw4lh6evxmugs3auv56tge1xtnx.png)
and
![b=\left[\begin{array}{ccc}3520\\4415\end{array}\right]](https://img.qammunity.org/2019/formulas/mathematics/high-school/ixd3dqcvmt8h8s6r67wjnnvagje065rlgc.png)
Hence, the matrix of the pineapple cake is given by:
![A_x=\left[\begin{array}{ccc}3520&62\\4415&79\end{array}\right]](https://img.qammunity.org/2019/formulas/mathematics/high-school/vdcma8u6kyrrapq6lca8brmlkzp7gvnb1m.png)
and its determinant is given by:

and the price of the pineapple cake is given by:


The matrix of the chocolate cake is given by:
![A_y=\left[\begin{array}{ccc}45&3520\\55&4415\end{array}\right]](https://img.qammunity.org/2019/formulas/mathematics/high-school/2enmu78uan64wm0o1tw4dy6tjkkmzamn2y.png)
and its determinant is given by:

and the price of one chocolate cake is given by:

