The least common multiple of two whole numbers is 40. The ratio of the greater number to the lesser number is 4:5. What are the two numbers?