I have a system of $4$ equations in $4$ variables:
\begin{align} x_1 + y_1 &= m\\ x_2 - y_1 &= n\\ x_1 - y_2& = o\\ x_2 + y_2 &= p\end{align}
$x_1, y_1, x_2, y_2$ are integer points on co-ordinate system (we need only positive points in the solution).
I want to have only the positive integer value for all the variables $(x_1, x_2, y_1, y_2)$.
Let's suppose \begin{align}m &= 3\\ n &= 10^9 - 1\\ o &= 10^9 - 3\\ p &= 2 \times 10^9 - 7\end{align}
So, the above equation get satisfied for the values:
\begin{align}x_1 &= -3\tag{here $x_1$ is negative}\\ x_2 &= 7\\ y_1 &= 6 \\ y_2 &= 0\end{align}
Whereas the following set of values also satisfies the equation:
\begin{align}x_1 &= 1\\ x_2 &= 3\\ y_1 &= 2\\ y_2 &= 4\tag{here none is negative}\end{align}
I just want to find out the solution which has non-negative integer values for all 4 variables (having $0$ in the solution set is fine, just avoid negative values) when $m, n, o$ and $p$ can be any given constant.
Conditions: \begin{align}0 \leq x_1 \leq x_2 \leq 10^9\\ 0 \leq y_1 \leq y_2 \leq 10^9\end{align}