Let $\phi: U \rightarrow \mathbb{R}^m$, $U\subseteq \mathbb{R}^n$ open, such that $\phi(U)$ is open and $\phi$ is a homeomorphism onto its image.
Let $K\subseteq \phi(U)$ be compact. Show that $\phi^{-1}(K)$ is compact in $\mathbb{R}^n$
My try: for every open cover of $K$ by open sets of $\mathbb{R}^m$ we can extract a finite subcover. Because $\phi(U)$ is open this means that for every open cover of $K$ by open sets of $\phi(U)$ we can extract a finite subcover, so $K$ is a compact as a subspace of $\phi(U)$. Then, because $\phi: U \rightarrow \phi(U)$ is a homeomorphism, $\phi^{-1}(U)$ is compact as a subspace of $U$ which is itself open in $\mathbb{R}^n$.
Hence for every open cover of $\phi^{-1}(K)$ by sets open in $\mathbb{R}^n$ contained in $U$. How do I check all the other covers?