Let
u = sin (3x),
and use u-substitution.