I have some problem understanding the attaching space when learning topology. I cannot understand these two examples.
Example 1 Let $X=A=S^1$,$Y=I\times S^1$ and $B=\{0\}\times S^1$. Let $h:B\to A$ be the map that sends $B$ twice around $A$, i.e., $h(z)=z^2$ where we think of the circle as the set of complex number of modulus $1$. The attaching space $X\cup_h Y$ is homeomorphic to the Möbius strip.
I have trouble understanding "sends $B$ twice around $A$". I cannot imagine how a cylinder becomes a Möbius strip by this attaching map. I can only imagine rolling a cylinder twice and identify the boundary that touches each other. Is there any method to understand this?
Example 2 $X=A=S^1$,$Y=D^2$ and $B=\partial D^2=S^1$. Using the same attaching mapping, we claim that the attaching space $X\cup_h Y$ is homeomorphic to attaching a two-dimensional sphere to Möbius strip, which is in turn homeomorphic to $P^2(\mathbb{R})$.
How to understand "attaching a two-dimensional sphere to Möbius strip" and why is this homeomorphic to $P^2(\mathbb{R})$?
I'm new to this area, so sorry for the rather dumb-sounding problem. Thanks for your attention!