Solution:
Solution
Net force perpendicular to the plane of the incline is zero,
$$\therefore$$ $$ mg cos(30^{\circ})$$ = N
Now consider the point on the centre of the base of the cube (on the incline). Frictional force passes through this point hence produces zero torque. Net torque about this point is zero. Only weight and normal produce a torque about this point.
$$\therefore$$ Writing torque equation we get,
$$mg sin(30^{\circ})\dfrac{a}{2}$$ = $$N(\dfrac{a}{2\sqrt{x}})$$
Substituting value of N,
$$mg sin(30^{\circ})\dfrac{a}{2}$$ = $$mg cos(30^{\circ})(\dfrac{a}{2\sqrt{x}})$$
$$tan(30^{\circ})$$ = $$\dfrac{1}{\sqrt{x}}$$
$$\therefore x = 3$$