5h + f = 10.24
h + 5f = 5.84
We can either solve the first equation for f or solve the 2nd for h, then substitute.
f = 10.24 - 5h
h + 5(10.24 - 5h) = 5.84
h + 51.2 - 25h = 5.84
24h = 45.36
h = 1.89
f = 10.24 - 5(1.89)
f = 10.24 - 9.45
f = 0.79
One hamburger is $1.89 and one order of fries is 79 cents. The rest of the problem, which is left off, is up to you.