x^2+1=y^2; (5-x)^2+1=(6-y)^2