You can put this solution on YOUR website! x+y=10
x=10-y
xy=24 replace x in this equation with (10-y) & solve for y.
(10-y)y=24
10y-y^2-24=0
y^2-10y+24=0
(y-4)(y-6)=0
y-4=0
y=4 ans.
x+4=10
x=10-4
x=6 ans. (6,4)
y-6=0
y=6 ans.
x+6=10
x=10-6
x=4 ans. (4,6)
Proof:
4*6=24