Solution (source code)

= Solution

As a <smooth manifold>, $G\cong\mathbb R^*\times\mathbb R$. It has two <connected component>[connected components], distinguished by the sign of $a$: each of $a>0$ and $a<0$ is connected, and a continuous path in $G$ cannot cross $a=0$.