Find the principal and general solutions of the following equations: 2. sec x = 2