x(y + z - 5) = 7, y(x + z - 5) = 7, x^2 + y^2 = 50