You're interested in the set of numbers that can be written as $ax+by$ with $x,y \in \mathbb{N}$. So let $n \ge (a-1)(b-1)$ be an integer, we're interested in solving the equation $ax+by = n$ in $\mathbb{N}^2$.
Since $a$ and $b$ are coprime, you may find $u,v \in \mathbb{Z}$ such that
$$au + bv = 1$$
Multiplying the above equation by $n$, we get
$$aun + bvn = n$$
And for all $k \in \mathbb{Z}$ we have
$$a (un+kb) + b (vn-ka) = n$$
So the couples $(un+kb,vn-ka)$ are solutions in $\mathbb{Z}^2$ of our equation (and you may check that those are the only solutions in $\mathbb{Z}^2$, but we won't need that result). Let us prove that we can chose a value of $k$ such that $(un+kb,vn-ka)$ lies in $\mathbb{N}^2$ : Assume $a\ge 2$ (at least one of them is $\ge 2$, we just assume it's $a$), chose the smallest possible $k$ such that $un+kb \ge 0$, so its value is between $0$ and $b-1$ and we get
$$b(vn-ka) = n - (un+kb) \ge (a-1)(b-1)-(b-1) = (a-2)(b-1) \ge 0$$
which concludes. For more information you may want to look at the Coin problem.