Find the principal and general solutions of the following equations: 1. tan x = sqrt 3