Let $\pi_1:ℝ×ℝ→ℝ$ be a projection on the first coordinate. Let $A$ be the subspace of $ℝ×ℝ$ consisting of all points $(x,y)$ for which $x≥0$ or $y=0$ (or both). Let $q:A→ℝ$ be obtained by restricting $π_1$. Show that $q$ is a quotient map.
Clearly $q$ is continuous and surjective. So now I want to prove that $q$ is open or closed map, and then I'm done. But I don't see how I could prove that.
I also tried proving that for a subset $U$ of $\mathbb{R}$ that $\pi_1^{-1}(U)$ being open implies that $U$ is open, but that didn't work for me as well.
Any hints :) ?