Let x b the number of miles Sharon travels, we can write an expression relating the amount she spends. We can add the cab flat fee and the amount per mile. So there:
So let that total cost per mile be less than equal to the amount the Sharon can spend: