(d) The field at $O$ due to $AB$ is $\frac{\mu_{0}}{4\pi}.\frac{i}{a}\widehat{k}$ and that due to $DE$ is also $\frac{\mu_{0}}{4\pi}.\frac{i}{a}\widehat{k}$
However the field due t $BCD$ is $\frac{\mu_{0}}{4\pi}.\frac{i}{a}\left( \frac{\pi}{2} \right)\widehat{k}$
Thus the total field at $O$ is $\frac{\mu_{0}}{4\pi}.\frac{i}{a}\left( 2 + \frac{\pi}{2} \right)\widehat{k}$