one common factor of two numbers is 40. another common factor is 10. if both numbers are less than 100, what are the two numbers?