The magnetic moment of the loop shown in the figure is (Length of each side is a and current flowing in the loop is i)
−3a2i ^j
The given figure can be divided into different loops and magnetic moment is calculated for seperate loops.
(1) M1=−a2i ^j
(2) M2=−a2i ^i
(3) M3=−a2i ^j
(4) M4=+a2i ^i
(5) M5=−a2i ^j
So the net magnetic moment will be:
Mnet=M1+M2+M3+M4+M5
Mnet=−3a2^j