SymPy function with 2 variables

Please, read PSA: make it easier to help you, especially, points 1 and 3.

From the documentation you should use solveset, no?