suppose $\pi:X\rightarrow \text{Spec}\ k$ is a quasifinite morphism. Show that $\pi$ is finite. (hint: deal first with the case where $X=\text{Spec}\ A,$ $A$ finitely generated over $k$. If $A$ contains an element $x$ not algebraic over $k$, we have a inclusion $k[x]\hookrightarrow A.$)
In fact, I finished the exercise but used the Nullstellensatz, Chinese remainder theorem and the fact that $A$ is a Jacobson ring with finitely many prime ideals to show:
1.$\text{Spec}\ A\rightarrow \text{Spec}\ k$ is finite.
This section is about Chevalley theorem, I want to know how to use this theorem directly to prove 1.
Thanks a lot.