For any formulas $\varphi, \psi$ show that $(∀x_1)(\varphi \rightarrow \psi) \rightarrow ((∀x_1)\varphi \rightarrow (∀x_1)\psi))$ is logically valid [from Alan Hamilton, Logic for mathematicians (1978), Exercise 19, page 70].
We can follow the hint of page 69 :
In general, to prove logical validity we must show that an arbitrary valuation in an arbitrary interpretation satisfies the wff concerned.
Let $\mathcal I$ be an interpretation with domain $D_\mathcal I$ and let $v$ be a valuation in $\mathcal L$.
If $v$ does not satisfy $(∀x_1)(\varphi \rightarrow \psi)$ then $v$ satisfy the above formula.
Consider now a $v$ which satisfy $(∀x_1)(\varphi \rightarrow \psi)$ and suppose that $v$ does not satisfy $(∀x_1)\varphi \rightarrow (∀x_1)\psi$.
This means that $v$ satisfy $(∀x_1)\varphi$ and $v$ does not satisfy $(∀x_1)\psi$.
We have to recall Definition 3.20, page 70 :
(iv) $v$ satisfies $(\forall x_i)\beta$ if every valuation $v'$ which is $i$-equivalent
to $v$ satisfies $\beta$
and Definition 3.19, page 69 :
Two valuations $v$ and $v'$ are $i$-equivalent if $v(x_j) = v'(x_j)$ for every $j \ne i$.
Thus, from definitions, if $v$ does not satisfy $(∀x_1)\psi$, there is a valuation $v'$ which is $1$-equivalent to $v$ which does not satisfy $\psi$.
But $v$ satisfy $(∀x_1)\varphi$; this means that every valuation which is $1$-equivalent to $v$ satisfy $\varphi$.
In conclusion, we have a valuation $v'$ which satisfy $\varphi$ and not satisfy $\psi$; thus, $v'$ does not satisfy $\varphi \rightarrow \psi$.
But this contradicts the fact that $v$ satisfy $(∀x_1)(\varphi \rightarrow \psi)$, which means that every valuation $v'$ which is $1$-equivalent to $v$ satisfies $\varphi \rightarrow \psi$.