The larger of two numbers is 8 more than four times the smaller. If the larger is increased by four times the smaller, the result is 40. Find the numbers.