Given, fe=5 cm; fo=1.25 cm and M=-30.
Let L be the tube length (distance between the objective and the eyepiece)
∴ M=−Lfo(1+dfe)
[d is a constant and equal to the normal distance of clear vision of the human eye]
Hence, −30=−L1.25(1+255)
∴ L=30×1.256
=6.25cm
Hence, the the separation between the objective and the eyepiece should be 6.25 cm to get the desired magnification.