3x + 3xcos(3x) / 8sin(3x)cos(3x) = 3x / 8sin(3x)cos(3x) + 3x / 8sin(3x) I understand how the numerator simplifies, but why is cos(3x) simplified from the denominator in the second fraction?