a^2+b^2=50
(a+b)^2=8
(a+b)^2
=a^2+2ab+b^2
=8
2ab=8-50=-42
-2ab=42
a^2-2ab+b^2
=(a-b)^2
=50+42
=92
a-b=±√92