the difference between two numbers is 10 . When eight times the smaller number is added to 40 , the result is ten less than three times the larger number . find the numbers .