Question 763589
Not knowing at what level of study is the question intended, look at the numbers from { 1, 4, 6, 8, 9, 10 }.  NONE is prime.  


What combinations of two numbers give sum of 10?
1 and 9
4 and 6 
Those are all the possibilities.  


Next, which combination from the ones just found give a product of 24?
Just the 4 and the 6.  
*************************
ANSWER:  4 and 6.
*************************