Assuming the $\mathbb R \times \mathbb R $ and $\mathbb R$ spaces are equipped with the standard topology or equivalently the standard Euclidean metric, a very straightforward way of showing that $q$ is a quotient map could be as follows:
We indeed show that if $q^{-1}(U)$ is open in $A$, then $U$ is open in $\mathbb R.$ By contradiction, let's assume $U$ is not open. So, there is $x_0 \in U$ such that for any $r>0$ there is $y_r$ such that $y_r \in B (x_0,r)$ while $y_r \notin U$, where $B (x_0,r)$ is the standard ball centered at $x_0$ with radius $r$. Now, note that $(x_0,0) \in q^{-1}(U)$, so there must exist an (basic) open set of the form $B((x_0,0), r_0) \cap A$ such that $B((x_0,0), r_0) \cap A \subset q^{-1}(U)$, where $B((x_0,0), r_0)$ is the usual ball centered at $(x_0,0)$ with radius $r_0$ (Please be aware that the ball containing $(x_0,0)$ can be centered at any other point but as we are literally working with the usual Euclidean metric, we are allowed to set $(x_0,0)$ as the center). Now, recall $y_{r_0}$ for $r_0$ as mentioned earlier; we have:
$$(y_{r_0},0 )\in B((x_0,0), r_0) \cap A, \ \ \ \ \ \ (y_{r_0},0 )\notin q^{-1} (U),$$
which is a contradiction. Hence, $U$ is open in $\mathbb R$ if $q^{-1}(U)$ is open in $A$.
For not being an open map, consider:
$$q(\{ (x,y) : x\geq 0 ,y>1 \})= \mathbb R^+ \cup \{0\}.$$
And, for not being a closed map, consider:
$$q(\{ (x,\frac{1}{x}) : x>0\})= \mathbb R^+.$$
We are done.