Solve the SDE $$dX_t = X_t(\sigma_t dW_t + \mu_t dt)$$ where $\sigma_t$,$\mu_t$ are deterministic.
Attempted solution
We have $$dX_t = X_t(\sigma_t dW_t + \mu_t dt)$$ Let $f(x) = \log X$, applying Ito formula we have
$$d \log(X_t) = \sigma_t dW_t X_t \frac{1}{X_t} + \mu_t dt X_t \frac{1}{X_t} + \frac{1}{2}\sigma^2 (-\frac{1}{X_t^2}$$
Cancelling terms we have $$d \log(X_t) = \sigma_t dW_t + \mu_t dt - \frac{1}{2}\sigma^2\frac{1}{X_t^2}$$
This is where I am lost I am pretty sure this is how we solve for this SDE but the $\frac{1}{X_t^2}$ term is throwing me off.