Answer:
for answer to be 2
mod of x +2 should be equal to 1
so the answer will be x = -3 or -1
for x = 1 we will get gx 0
for g(x) = -2 mod x +2 should be equal to 5
so x is -7 or 3
1.6m questions
2.0m answers