My exercise is
(1) to justify whether the field $L=\mathbb{Q}(\sqrt{2},i)$ is a Galois extension of $\mathbb{Q}$ and
(2) to find an element $z$ with $L=\mathbb{Q}(z)$ and a between field $\mathbb{Q}\subseteq K \subseteq L$ with $|K:\mathbb{Q}|=2$ and $K\neq \mathbb{Q}(\sqrt{2})$ and $K\neq\mathbb{Q}(i)$.
The field $L$ is a splitting field of the polynomial $f=(X^2-2)(X^2+1)\in\mathbb{Q}[X]$, and $L$ is a Galois extension over $\mathbb{Q}$.
For (2), I've found an element $z=\sqrt{2}i$ which equals $\mathbb{Q}(\sqrt{2},i)=\mathbb{Q}(\sqrt{2}i)$. How can I find $K$?
You $z$ is not OK, as $z^{2} \in \mathbb{Q}$. Try $w = \sqrt{2} + i$ instead.
But then your $z$ is OK to give you $K = \mathbb{Q}(z)$ - please check that indeed $K\neq \mathbb{Q}(\sqrt{2})$ and $K\neq\mathbb{Q}(i)$