Equilibrium of a Rigid Body in Two Dimensions