The correct option is B In a fashionable car, they left the restaurant where they had been eating.
Since "car" is qualified by "they...restaurant", these should be placed together, without changing the meaning. Hence, Option B is correct. The rest of the options do not adhere to the goal, or change the meaning, hence incorrect.