1. Magnetic moment of a bar magnet: $M_m = \text{magnetization} \times \text{volume} = I \cdot V$.
2. Volume $V = A \cdot l$, where $A$ = area of cross-section, $l$ = length.
3. Given: $M_m = 2.7$ Am$^2$, $I = 4 \times 10^5$ Am$^{-1}$, $A = 0.75$ cm$^2 = 0.75 \times 10^{-4}$ m$^2$.
4. Length: $l = \frac{M_m}{I \cdot A} = \frac{2.7}{4 \times 10^5 \cdot 0.75 \times 10^{-4}} = \frac{2.7}{30} = 0.09$ m = 9 cm