Trigonometrikus egyenletek, az argumentum egynél több tagú