How do you solve #Cosx=3cosx-2# and find the general solution?