Question 252517
there is no formula but we must make two equations with two unknowns
let n and m be the two numbers
n+m=10
n^2-m^2=20
n=10-m
substitute
(10-m)^2-m^2=20
100-20m+m^2-m^2=20
fortunately the squared variables are cancelled out
80-20m=0
80=20m
4=m
n=10-m
n=10-4=6