We have an additive group of integers modulo $n$, take for example $\Bbb{Z}_{154}$, being the set of integers between $0$ and $153$.
How can I find one pair $(x,y)$ of elements that both belong to $\Bbb{Z}_{154}$, which satisfy the condition that both $\langle x\rangle$ and $\langle y\rangle$ are proper subgroups of $\Bbb{Z}_{154}$, and that $\langle x,y\rangle = \Bbb{Z}_{154}$. What would be the process behind this?
Knowing what set will come from a single element generating set is straightforward enough, however, how do we know what set will be produced by a generating set containing two elements such as $\langle x,y\rangle$?
Since $\langle x\rangle,\langle y\rangle$ are proper subgroups of $\mathbb Z_{154}$, $x$ and $y$ must be not coprime to $154$. Since $\langle x,y\rangle$ is the whole group, $\gcd(x,y)$ must be relatively prime to $154$ – it may be $1$, for example.
Now $154=2×7×11$. We can take $x=2,y=7$.