HINT: Suppose $xy=q(x+y)$ then $xy-qx-qy+q^2=q^2=(x-q)(y-q)$
That should be enough to enable you to identify the possible values.
HINT: Suppose $xy=q(x+y)$ then $xy-qx-qy+q^2=q^2=(x-q)(y-q)$
That should be enough to enable you to identify the possible values.