Answer :

Let x and y be the 2 numbers

x + y = 10
x*y = 24
------------

4 and 6