In Vakil's FOAG, p218, he states Chevalley's theorem as follows
7.4.2 Chevally's Theroem---If $\pi:X \to Y$ is a finite type morphism of Noetherian schemes, the image of any constructible set is constructible. In particular, the image of $\pi$ is constructible.
And the following is 7.4.P.Exercise at page 221, in which Chevally's theorem is used.

In my understanding, the scheme $X$ is a open subscheme $D(g_1,...,g_q)$ of the closed subscheme $\mathrm{Spec}(k[W_1,...,W_m,...X_1,..,X_n]/(f_1,...,f_p))$ of $\mathbb{A}^{n+m}$. Is that right? But then I can't figure out why $\pi$ in the commutative diagram is a morphism of finite type, which is necessary to use Chevalley's theorem. Could you help me? Thanks in advance.