Let $a,b$ be fixed positive integers and $H=\{ax+by:x,y\in \mathbb Z \}$. Show that $H$ is a cyclic group with $\gcd(a,b)$ as a generator.
Proceed
Let $d=\gcd(a,b)$. What can I say after this?
Added
A group $G $ is said to be cyclic if there exists an element $a$ in $G$ such that
$$G=\{ a^n: n\in \mathbb Z\}$$
If $d$ is any common divisor of $a$ and $b$, then $a = kd$ and $b = \ell d$ for some integers $k$ and $\ell$.
So for any element $ax + by \in H$, $$ax + by = (kd)x + (\ell d)y = (kx+\ell y)d$$ which shows that every element in $H$ is a multiple of $d$.
If $d$ is the greatest common divisor of $a$ and $b$, then (Bézout's identity) there exist integers $x$ and $y$ such that $ax + by = d$. Multiply this equation by any integer $n$; we have that $a(nx) + b(ny) = nd$, which shows that every multiple of $d$ is in $H$.
If every element in $H$ is a multiple of $d$, and every multiple of $d$ is in $H$, it follows that $H$ is exactly the set of all multiples of $d$:
$$H \equiv \{nd : n\in \mathbb{Z}\}$$ Q.E.D.