I was wondering if anyone can help me in finding a general solution to this:

$\displaystyle

x\prime(t) + 2tx(t) = t

$

I've tried using the integrating factor method but I must be getting it wrong or else it's the wrong method to use because the answer is weird...