James is driving from City A to City B, which are 600 miles apart. He maintains a constant speed of 50 miles per hour. His car consumes fuel at a rate of 25 miles per gallon, and the cost of fuel is $3 per gallon. How much will James spend on fuel for the trip? Let's think step by step and output the final answer within \boxed{}.
user