The correct option is D In his summer holidays, he visited Falkirk in Scotland where William Wallace lost the battle against the English.
Since "he visited ...Scotland" is qualified by "where...English", these should be placed together, hence Option B is correct. The rest of the options do not place the qualifying clauses together, hence incorrect.