Alright I know I'm asking for an answer with this, however on all of the examples presented to me with my notes in class and online, It doesn't show $y' = yx \leftarrow \textrm{example}$.
It shows problems like $y' + \tan(x)y = \cos^2(x)$. that's just an example. They have $y'$ on the left with $x$ and $y$.
Therefore, I am not certain that I will be making an error that I won't know about. I just want some example on how to do this so I don't mess up with some explanation.
Your equation is $$y'-y=-3x$$ If we multiply both sides by $$\mu = \exp\left(\int -1 \right)=\exp(-x)$$ We can rewrite it as $$\left(\exp(-x)y\right)'=-3x\exp(-x)$$ Can you see why? Can you continue?