Answer:
Hamburger = $2.5
Fries = $0.80
Step-by-step explanation:
set up a system of equations
y = total cost
x = number of hamburgers
y = number of fries
[tex]24=8x+5y\\16.60=6x+2y[/tex]
find a LCF and multiply the equations. I'll be using the LCF of 5 & 2, which is 10 for y. so I will mulitilpy the first equation by 2 to get 10y and then the second by NEGATIVE 5 (-5) so when I combine both equations the y will cancle out because I'll get -10. Doing this, you should end up with this:
[tex]48=16x+10y\\-83=-30x-10y[/tex]
when you have this combine the equations to get
[tex]-35=-14x[/tex]
then divide both sides by -14 to get
[tex]2.5=x[/tex] this is the cost of one hamburger
then you plug in x into one of the original equations (I'll use the first equation)
[tex]24=8(2.5)+5y[/tex]
then solve for y to get
[tex]0.80=y[/tex] this is the cost for fry
if you plug in both the value for x and y into the original equations (like so)
[tex]24=8(2.5)+5(0.8)\\16.60=6(2.5)+2(0.8)[/tex]
you'll see that they are true (they equal one another)
this means that the cost of a hamburger is $2.50 and the cost of fries is $0.80