An example sometimes used to differentiate between homeomorphisms and homotopy equivalences, for example in this answer by @JohnGowers and on the Wikipedia article for topology, is that of the letters $\mathsf{X}$ and $\mathsf{Y}$. However, what I'm confused about is whether these spaces are meant to be polygons or made up of lines. In other words, does $\mathsf{X}$ signify A or B in this figure?

My understanding right now is that in the following figure, C and D are homotopy equivalent but not homeomorphic, while E and F are both homeomorphic and homotopy equivalent:
Is this correct?