The quantifier closest to the quantified variable dominates any previous quantifiers.
The first is equivalent to $\forall x P(x, y)$, with $y$ unbound.
The second, then, is equivalent to $\exists y \exists x P(x, y)$.
The quantifier closest to the quantified variable dominates any previous quantifiers.
The first is equivalent to $\forall x P(x, y)$, with $y$ unbound.
The second, then, is equivalent to $\exists y \exists x P(x, y)$.