$$cos2x-3sin2x+5\sqrt{2}sinx-4\sqrt{2}cosx+6=0$$