Static equilibrium problem involving balanced ruler