For this equation $x*y = 5x + 5y$ find all possible pairs.
The way I did it was: $x=5y/(y-5)$
And for this I wrote a program to brute force a couple of solutions. If it helps, some possibilities are: [4,-20], [6, 30], [10, 10]
So my question is: What is a mathematically correct way to solve this problem?