I need help :,)

Mark is traveling by bus and needs to go from

Denver to San Diego and then on to San Francisco


The charge from Denver to San Diego is $17.50


and the charge from San Diego to San Francisco


is $8.75. How much will the ride cost?