Joe’s Car service charges $5 to pick up passengers, plus 1.25 for each mile. Write an equation for the function that relates to the total cost of a trip to the distance. Also identify the slope and the y-intercept of the function.