N/2 = M
M + 6 = -2
Solve the following system:
{N/2 = M | (equation 1)
M+6 = -2 | (equation 2)
Express the system in standard form:
{N/2-M = 0 | (equation 1)
0 N+M = -8 | (equation 2)
Multiply equation 1 by 2:
{N-2 M = 0 | (equation 1)
0 N+M = -8 | (equation 2)
Add 2 × (equation 2) to equation 1:
{N+0 M = -16 | (equation 1)
0 N+M = -8 | (equation 2)
Collect results:
Answer: |N = -16 and M = -8