If 2#cos^2x# - #cosx# = 1 , what is the value of #x#?