A small observation about the above is you should have abs in the log argument as in
ln(|x|) = ...
Its related to the constants etc as in
dx/dt = 2x
x(0) = -1
so the solution is obviously x(t) = -e^2t, but working it through without abs youd get to
ln(x) = 2t + c
Note that ln(x) doesnt exist as x is negative and taking exponentials you get
x(t) = e^c e^2t = Ae^2t
If you left it in terms of c, the initial condition of -1 "doesnt work" as you cant get a c which satisfies it (e^c > 0). Trivially though A=-1 works. If you used the abs properly.
ln(|x|) = 2t + c
Then youd have to consider x>0 and x<0 seperately and the latter does give a valid c. However, in both cases Ae^2t works where A is the (transformed) constant of integration.
So if you leave it as +c, make sure you have abs in the log, otherwise it could be incorrect. However, putting it as Ae^2t is simpler, where A can be either positive or negative, though Notnek is better placed to say whether youd lose a mark or not.