Write equations for both companies:
Company A = 80 + 0.30x
Company B = 20 + 0.50x
X = number of miles.
Set the equations to equal and solve for x:
80 + 0.30x = 20 + 0.50x
Subtract 0.30x from both sides:
80 = 20 + 0.20x
Subtract 20 from both sides:
60 = 0.20x
Divide both sides by 0.20:
x = 60 / 0.20
x = 300
The answer is 300 miles.