You are correct with your answer.

The information tells me that you have a straight line relationship between c and m of the form:

c = 2m/100 + 29

(I'm assuming we only let m be exact multiples of 100 to keep it simple)

The cost for 325 miles is $35.5 as you state.