I want to show that $\mathbb{Q}(i+2^{1/4})$ and $\mathbb{Q}(i,2^{1/2})$ are equal. It is enough to show that :
there are two polynomials $g(x),h(x) \in \mathbb{Q}[x]$ such that for $\delta=i+2^{1/4}$, $\sqrt{2}=g(\delta)$ and $i=h(\delta)$, and
there is a polynomial $p(x,y) \in \mathbb{Q}[x,y]$ of two variables for $x=\sqrt{2}, y=i$ such that $\delta=p(\sqrt{2},i)$.
All manipulation with $\delta$ like some combination of inverse of it, squaring it, etc doesn't solve the problem. Also I calculated ${\delta}^8 + 4 {\delta}^6 +2{\delta}^4 +28{\delta}^2 +1 = 0$ which doesn't solve the problem neither.
So how $\mathbb{Q}(i+2^{1/4})=\mathbb{Q}(i,2^{1/2})$?
The trick in here works for that specific example. Is there a general algorithm?
Added : Based on the comments below, if $\mathbb{Q}(i+2^{1/4})=\mathbb{Q}(i,2^{1/2})$ is not true so what the primitive element $\delta$ such that $\mathbb{Q}(\delta)=\mathbb{Q}(i,2^{1/2})$ and in what way one calculates it ?