Two conductor rails lie in the XY plane as shown in blue in the…