Problem statement: Find the general solution of the given differential equation:

Using P(x) = 2*x, I obtained an integration factor of

My question is would it be okay in this instance to leave the integral of as my answer? Or have I approached the problem incorrectly?