0
Here I am trying to give an intuitive idea...Let see how far I can make it clear... let $U,V$ be two chart which cover these two spaces, $U\cup V=X$ and $U,V$ is homeomorphic to open disc $\mathbb{D^2}$...now since X is compact so boundary of $U$ should properly contained in $V$ similarly bound...