Math Help - Maths Scholarship help

1. Maths Scholarship help

Hello i am studying for a scholarship which I am due to take in 1 week. I am doing a few practice papers and I was wondering if anyone could work out the answer to this question

The Best Bakery sells triangular cakes at 39p and square buns 23p each. For her party, Helen
buys a total of 40 of these cakes and buns and spends £13.52.
How many of each did she buy?

2. Re: Maths Scholarship help

Hello, gazing600000!

$\text{The Best Bakery sells triangular cakes at }39\cent\text{ and square buns at }23\cent\text{ each.}$
$\text{For her party, Helen buys a total of 40 of these cakes and buns and spends \13.52.}$
$\text{How many of each did she buy?}$

Let $C$ = number of cakes.
. . At $39\cent$ each, they cost $39C$ cents.
Let $B$ = number of buns.
. . At $23\cent$ each, they cost $23B$ cents.

The total cost is $\13.52 \,=\,1352\cent.$
. . $39C + 23B \:=\:1352$

The total number bought is 40:
. . $C + B \:=\:40$

Solve the system of equations: . $\begin{Bmatrix}39C + 23B &=& 1352 \\ C + B &=& 40 \end{Bmatrix}$