A question from Introduction to topological manifold exercise 5-4
Exe5.4: Suppose M is a compact, connected 2-manifold that contains a subset $B\subset M$ that is homeomorphic to the Möbius band. Show that there is a compact 2-manifold M' such that M is homeomorphic to a connected sum $M'$#$P^2$.
I know if M is a compact, connected 2-manifold, then M has a very good surface presentation. But I have no geometric intuition on the question and can't figure out how to rigorously apply the surface presentation.