Using linear functions, we have that Company A is cheaper than Company B for distances of less than 40 miles.
A linear function is modeled by:
y = mx + b
In which:
For this problem, we consider that:
Hence the functions are:
Company A is cheaper when:
A(x) < B(x)
40 + 2.5x < 100 + x
1.5x < 60
x < 60/1.5
x < 40.
For distances of less than 40 miles, company A is cheaper.
More can be learned about linear functions at https://brainly.com/question/24808124
#SPJ1