r: Amount of raisins used (in lbs)
a: Amount of almonds used (in lbs)
Total lbs used: 12
Raisins cost: 5.10 per lb
Almonds const: 3.30 per lb
From the problem, we know that:
[tex]a+r=12...(1)[/tex]If the mixture cost 3.90 per lb, and we have 12 lbs of the mixture, then the total cost is:
[tex]12\cdot3.90=46.8[/tex]Then, we have another equation:
[tex]5.1r+3.3a=46.8...(2)[/tex]From equation (1):
[tex]a=12-r...(3)[/tex]Using (3) on (2):
[tex]5.1r+3.3(12-r)=46.8[/tex]Solving this equation for r:
[tex]\begin{gathered} 5.1r+39.6-3.3r=46.8 \\ 1.8r=7.2 \\ \Rightarrow r=4 \end{gathered}[/tex]Using this result on (3):
[tex]\begin{gathered} a=12-4 \\ \\ \Rightarrow a=8 \end{gathered}[/tex]Answer:
Siobhan used 8 lbs of almonds and 4 lbs of raisins.