Answer
The path length difference is $~~2d$
Work Step by Step
In the first arrangement, the path length from the point crossing the bottom horizontal line to the point crossing the top horizontal line is $5d$
In the second arrangement, the path length from the point crossing the bottom horizontal line to the point crossing the top horizontal line is $3d$
The path length difference is $~~2d$