Could somebody please help a middle aged student who hasn't done any 'proper' maths for 25 years (and is starting to remember why he preferred English lessons) with this problem where I need to express with $\displaystyle x$ as the subject? I have the answer but mine doesn't match it

Many thanks

$\displaystyle z=e^{x^2}{^/}{^2}$