Let the cost of each packet of cheese is $x
Let the cost of each burger $y
Calvin bought 5 packets of cheese and 3 burgers for $29.99
Mathematically we can write
[tex]5x+3y=29.99\text{ ..(1)}[/tex]Alex bought 3 packets of cheese and 7 burgers for $32.71
Mathematically we can write
[tex]3x+7y=32.71\text{ ..(2)}[/tex]Now we have to solve equations (1) and (2) for x and y
Now 7*(1)-3*(2) implies
[tex]7\times(1)-3\times(2)\Rightarrow35x+21y-9x-21x=209.93-98.13\Rightarrow26x=111.8\Rightarrow x=\frac{111.8}{26}\Rightarrow x=4.30[/tex]Hence the price of each packets of cheese is $4.30