Set up 2 equations:
Kyle: 5h + 3f = 14.50
Myles: 4h + 2f = 11.00
Lets get the two h's to cancel out.
Multiply Kyle by 4 and Myles by -5:
Kyle: 20h + 12f = 58
Myles: -20h - 10f = -55
Now add the two equations together:
2f = 3
Divide both sides by 2:
f = 3/2
f = 1.50
1 french fry cost $1.50
Now solve for the price of a hot dog:
5h + 3(1.50) = 14.50
5h + 4.50 = 14.50
Subtract 4.50 from both sides:
5h = 10.00
Divide both sides by 5:
h = 2
One hot dog cost $2.00