[see also: straightforward
Here is a simple direct proof.
Tietze's theorem is a fairly direct consequence of Urysohn's lemma.