Use the torque and energy approach. Torque \(\vec\tau = \vec\mu \times \vec B\) vanishes only if \(\vec\mu\) is parallel or anti-parallel to \(\vec B\), which needs the plane of the loop perpendicular to Z, i.e. horizontal: only (3) and (4).
Between these, the stable one has the lowest energy \(U = -\mu B\cos\theta\), i.e. \(\theta = 0\) (parallel). Determine the circulation: in (3) the loop traced a, b, c, d goes counter-clockwise as seen from the +Z axis (X toward the viewer, Y to the right), giving \(\vec\mu\) along \(+Z\), \(U = -0.06\times0.3 = -0.018\) J (minimum). In (4) the circulation is clockwise, \(\vec\mu\) is along \(-Z\), \(U = +0.018\) J (maximum, unstable).
Answer: (3)