Take , and . The first is orientable, while , the Klein bottle, is not, so and are not homeomorphic.
Both and are nonorientable and have Euler characteristic . By the classification of compact surfaces, both are homeomorphic to the connected sum of three projective planes. HenceThis is failure of cancellation for connected sums of surfaces.