We have the equation:

There are a total of two options that complies the equation, as it is a product.
If the first term is 0, the equation is right.
But if the second term is 0, the equation is right too.
Then both are solutions.
So we have:


And,


Then we can conclude:
The two correct answers are z=2 and z=1
z=1,2 in the format asked.