I know I should be taking the derivative of this equation to get the minimum but I'm having trouble setting up the equation of this word problem to begin with:
The distance by bus from NY to Boston is 225 miles. The bus driver gets paid $12.50 per hour, while the other costs of running the bus at a steady speed of x miles per hour amount to 90+0.5x cents per mile. The minimum and maximum legal speeds on the bus route are 40 and 55 miles per hour. At what steady speed should the be driven to minimize the total cost?