The assertion $\forall x\exists z\forall y\left(z=\frac{x+y}2\right)$ means that for **each** real number $x$ **there is** a real number $z$ such that, **for each** real number $y$ you have $z=\frac{x+y}2$. This is clearly false. Take $x=0$, for instance. is there a real number $z$ such that $z=\frac y2$ for **each** real number $y$? Clearly not.
The order of the quantifiers matters. A lot.
The assertion $\exists x\forall y\
eq0(xy=1)$ means that " **there is** a real number $x$ such that, for **each** non-zero real number $y$, we have $xy=1$".