solve (p+1)x-py=1, 2x+(p-1)y=3p, p=-1-sqrt(2)