Find the number of positive integer pairs $x,y$ such that
$$xy+\dfrac{(x^3+y^3)}3=2007.$$
I solved the question by using factorization and further checking possible values of $x$ and $y$. But it was very lengthy as I had to check many cases for $x$ and $y$. Is there any possible other method?

Another possible way: