You can put this solution on YOUR website! If:
x+y = 25
then:
y = 25-x We'll use this value for y:
x^2+(25-x)^2 = 325
x^2+625-50x+x^2 = 325
2x^2-50x+300 = 0
x^2-25x+150=0
x=[25+-sqrt(625-4*150)]/2
x=[25+-5]/2
x=15 or x=10
So we have our two numbers, 15 and 10. Check:
15+10 = 25
15^2+10^2 = 225+100 = 325
Correct.
John