Thinking in terms of straight lines and looking for points of intersection where both lines have the same output for the same input is not the best analogy. It's better to think of these as unstructured unordered sets which are like bags of groceries that they have a bunch of stuff dumped in them in no particular order and an "intersection" simply means the two bags both have the same item somewhere. ("You bought mushrooms and tampons too! So did I!")
$2\mathbb N + 3 = \{5,7,9,11,13,15,17,19,21,23,25,27,29......\}$ and $5\mathbb N + 7= \{12,17,22,27,32,....\}$
Notice they both have $17$ and $27$ and $37$ etc in them. Note those numbers aren't in both for the same reason... If $17 \in 2\mathbb N+3 = \{2\color{blue}n + 3|\color{blue}nn\in \mathbb N\}$ it is because if $\color{blue}{n= 7}$ we get $2\cdot\color{blue}{7} +3=17$ which $17 \in 5\mathbb N + 7=\{5\color{red}n + 7|\color{red}n \in \mathbb N\}$ because if $\color{red}n = 2$ we get $5\cdot\color{red}2+7=17$... but we don't care why the items are in the bag, just that they are both in each of the bags.
("I bought the mushrooms as the fifth item right after the milk and a picked up the tampons at the check out counter as my last item" "Oh, not me. I went shopping just because I needed tampons so I bought the first thing. Then I thought about dinner so I bought pasta, mushrooms, and onions. Mushrooms were the third thing I bought.")
..........
So this is actually much looser.
You mus show that there exist natural number $M,K$ so that $aM + b= xK +y$ where $M,K$ can be any natural numbers and need not have any thing in common.
That would mean $aM - xK = (y-b)$. By Bezout's lemma you know we can find integers$M', K'$ so that $aM' + xK' = 1$ so if we let $M = (y-b)M'$ and $K = -(y-b)K'$ we get $aM - xK = y-b$.
Or only concern is whether or not $M,K$ are both positive. I'll let you work the details.
(Note: if $a,b \ge 0$ then $aM' + bK' = 1$ would mean only one of $M'$ or $K'$ is positive and the other is either negative or $0$.)
=====
Postsript: For the record the two sets $a\mathbb N + b$ and $x \mathbb N + y$ don't just intersect and have one item in common. They have an infinite number of items in common.
.....
Notice that every $10K + 7 = 2(5K + 2) + 3= 5(2K) + 7 \in (2\mathbb N + 3)\cap( 5\mathbb N + 7)$. So for all $K$ we have $10K + 7$ is in the intersection.
That may give you a hint to a more direct way (but not necessarily easier) way to solve it than my Bezout solution.