Ta có : \(\frac{x-y}{1}=\frac{x+y}{7}=\frac{\left(x-y\right)+\left(x+y\right)}{1+7}=\frac{2x}{8}=\frac{x}{4}\)
\(\frac{x}{4}=\frac{xy}{24}\Leftrightarrow\frac{6x}{24}=\frac{xy}{24}\) => 6x = xy => y = 6
\(\frac{x-6}{1}=\frac{x+6}{7}\)
<=> 7(x - 6) = x + 6
<=> 7x - 42 = x + 6
<=> 7x - x = 6 + 42
<=> 6x = 48
=> x = 8
Vậy x = 8 ; y = 6