<h2>
Answer:</h2>
- The determinant of the matrix for the pineapple cake is:
![\left[\begin{array}{ccc}3520&62\\4415&79\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7D3520%2662%5C%5C4415%2679%5Cend%7Barray%7D%5Cright%5D)
- 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://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7D45%263520%5C%5C55%264415%5Cend%7Barray%7D%5Cright%5D)
- The price of one chocolate cake is $ 35
<h2>
Step-by-step explanation:</h2>
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://tex.z-dn.net/?f=A%3D%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7D45%2662%5C%5C55%2679%5Cend%7Barray%7D%5Cright%5D)
Determinant of A is:

![x=\left[\begin{array}{ccc}x\\y\end{array}\right]](https://tex.z-dn.net/?f=x%3D%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7Dx%5C%5Cy%5Cend%7Barray%7D%5Cright%5D)
and ![b=\left[\begin{array}{ccc}3520\\4415\end{array}\right]](https://tex.z-dn.net/?f=b%3D%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7D3520%5C%5C4415%5Cend%7Barray%7D%5Cright%5D)
Hence, the matrix of the pineapple cake is given by:
![A_x=\left[\begin{array}{ccc}3520&62\\4415&79\end{array}\right]](https://tex.z-dn.net/?f=A_x%3D%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7D3520%2662%5C%5C4415%2679%5Cend%7Barray%7D%5Cright%5D)
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://tex.z-dn.net/?f=A_y%3D%5Cleft%5B%5Cbegin%7Barray%7D%7Bccc%7D45%263520%5C%5C55%264415%5Cend%7Barray%7D%5Cright%5D)
and its determinant is given by:

and the price of one chocolate cake is given by:

