Let $G$ be a set of ordered pairs $(a, b), \, a \neq 0$, where $a, b \in \mathbb{R}$, and the binary operation $*$ on $G$ is given by $$(a, b) * (c, d) = (ac, bc + d)$$ Then, the identity element $e = (g, h)$, is such that $$(a, b) * (g, h) = (ag, bg + h) = (a, b)$$ Let $*'$ denoted the binary operation $*$ on the individual coordinates in the ordered pair. Then, $ag = a \Rightarrow g = 1$ and $bg + h = b \Rightarrow b = -\dfrac{h}{g - 1}$, which implies that $e = \left(1, -\dfrac{h}{g - 1}\right)$.
My question would be, is the value of $e$ above the identity element of $G$ under $*$? Another thing I noticed is that if $g = 1$, then the second coordinate will be undefined. If the value of $e$ is correct, then do we have to apply this restriction?