A system consists of two coaxial current carrying circular loops as shown in Fig. The self inductance of loop 1 is L1 and self inductance of loop 2 is L2. Magnitude of mutual inductance is M. If at any instant current flowing through loop 1 and loop 2 are i1 and i2 respectively, then total magnetic energy of the system is