Don't really need to know the sum to products formula (I never remember it myself) but more so how to arrive at that result.
sin 3x + sin x - sin 4x = 0
sin (2x + x) + sin (2x - x) - sin 4x = 0
sin 2x cos x + cos 2x sin x + sin 2x cos x - cos 2x sin x - sin 4x = 0
2sin 2x cos x - sin 4x = 0
2sin 2x cos x - 2sin 2x cos 2x = 0
2sin 2x (cos x - cos 2x) = 0