So she sold 18 birthday cakes that are $24.95 each. To get the birthday cake total, you need to multiply 18 x 24.95 = 449.10.
She also sold 3 wedding cakes that are $245.50 each. To get the wedding cake total, you need to multiply 3 x 245.50 = 736.50.
The total of both cakes is both cake totals added together, which is 449.10 + 736.50 = 1185.60 dollars.