I have to solve the general equation for this differential

\(\displaystyle \frac{d^2y}{dx^2} - 6\frac{dy}{dx} + 9y = 50\sin(x)\)

I have the homogeneous equation as \(\displaystyle (A + Bx)e^{3x}\)

However now that I am trying to get the partial equation I am stuck, I am unsure as what to use for the \(\displaystyle y_{PI} = k(something)\) I have tried using sin(x) but that gets difficult to untangle

Thanks

Beard