(sin 3X + sin 7X) / (cos 7X + cos 3X) = tan 5X
Use the sum-to-product formulas and it is quite easy. Now, see it?