Why is the ans B?

They’ve asked “by road”, so you can’t directly draw a line from the starting to ending point. You can only use the paths given in the graph.

Option A will be x+18
Option B will be x+19

x is common in both, so you can just cancel it out. Or even just substitute a value for x

AS = AC + CS? is this correct?

road distance, yes!