a + b = 578
S = suma
D = diferenta
S : D = 6, rest 2
S = D * 6 + 2
D * 6 + 2 = 578
D * 6 = 578 - 2
D * 6 = 576
D = 96
a + b = 578
a - b = 96
a = b + 96
b + 96 + b = 578
2b = 578 - 96
2b = 482
b = 482 / 2
b = 241
a + b = 578
a + 241 = 578
a = 578 - 241
a = 337
Verificare: 337 + 241 = 578