Try to find out the center of gravity of the object. You may be able to find out the stable condition for the object. (Or study the chapter about "statuic equilibrium".) :-)