The sum of two numbers is 18. Find the numbers, if three times the smaller is one less than twice the larger.