solve sinx + sin4x = sin3x + sin2x for -pi < x <= pi