Let $f : M \mapsto N$ be continuous. Consider a compact $K \subseteq M$.
Assume as given: $\forall B \subseteq N$ open, $f^{-1}(B)$ is open in $M$.
- Consider an open cover of $f(K)$, call it $A_i$ for $i \in I$.
- Then, $B_i$ is an open cover of $K$, where $B_i = \{x \in M: f(x) \in A_i \}$
- There exists a finite subcover of $K$, call it $B_{n_1}, ..., B_{n_k}$
- Then, $A_{n_1}, ..., A_{n_k}$ is a finite subcover of $f(K)$
Just need to verify this proof, in particular, I am concerned if $(2)$ and $(4)$ need more details.
A very good start to the proof nonetheless. If I were grading I would probably award most of the points, but not all, for the omission of the above.