There is a question with the elementary number theory tag that is locked because the question doesn't really make sense.
My variation is:
Let $x=ar+b$ and $y=cr+d.$ Find all values $ay-cx=ad−bc$ in terms of $m$ such that there are infinitely many values of $r$ such that $\gcd(x,y)=m,$ where $m$ is a constant.
A simpler way of saying this is that there are infinitely many values $r$ such that $\gcd(ar+b,cr+d)=m.$ The question is asking to find all values of $ad-bc.$
$m$ is any fixed integer (like 5, or 134, or 2156), while the values of $a,b,c,d$ vary based on $m.$ There are infinitely many values or $r$ that make $\gcd(ar+b,cr+d)=m$ true.
This seems like it is an interesting problem without ambiguity, I don't even know how to start, though.
Edit: I found this question that seems similar to this problem, but I am not sure to what extent. I didn't have enough time to really see how similar the problems are. I will continue to look into this and keep this updated.