So I have this joint dist
$$f(x,y) = \frac{1}{2\pi}\exp(-\frac{x^2}{2} - \frac{y^2}{2} + x^2y - \frac{x^4}{2})$$
I'd like to find $f_x(x)$. So I know that means I need to integrate function wrt y. So my strategy is to pull out whatever terms I can so some of it will look like the normal dist then it'll integrate to one and I'll be left with the marginal. So I have $$f_x(x) = \frac{1}{\sqrt{2\pi}}\int\frac{1}{\sqrt{2\pi}}\exp(-\frac{x^2}{2} - \frac{y^2}{2} + x^2y - \frac{x^4}{2})dy$$
This issue then is I'm not sure how I can modify $\exp(-\frac{x^2}{2} - \frac{y^2}{2} + x^2y - \frac{x^4}{2})$ so it will take the form $\exp(-\frac{(y-\mu)^2}{2\sigma^2})$.
Any help would be great, thanks. Sorry for the uberitalicized tex, kinda hacked it together from what I know.
Also I know this is a lot to ask, but this is homework so if you could provide hints or tips as opposed to a complete solution that would be better.
Edited for clarity.