Debris and Harry agreed to go on a trip. Flying costs $10 per km and driving costs $2 per km. if one travels 200 km by flying and the remaining distance by driving, the total cost of the trip is?

a) $2000
b) $24000
c) (8x+400)
d) (12x+400)