starting cost + rate*units has to be less than or equal to the money she has
18.95 + .19m < or equal to 40
solve for m
m < or equal to 110.789
Depending on rounding instructions... Rebecca can travel up to 110.7 miles in her rental and not spend over her $40.