x+r=6
y+r=8
8(x+r)/2=24
6(r+y)/2=24
You asked:
Solve the system of equations:\[\begin{aligned}x + r &= 6\\y + r &= 8\\\frac{8 \cdot \left(x + r\right)}{2} &= 24\\\frac{6 \cdot \left(r + y\right)}{2} &= 24\end{aligned}\]
MathBot Answer:
The system of equations has infinitely many solutions.
$$\begin{aligned}r &= 8 - y\\x &= y - 2\end{aligned}$$\(y\) is a free variable.