The difference between two numbers is 18. Twice the smaller number plus three times the larger is 74. What are the numbers?