Find the solutions to the equation cos2x=sinx and 2cos^2x-3cosx-3=0