The first term is wrong. Use the chain rule to get the derivative of $\sin \left(\frac{3}{x}\right)$.