The sum of two positive integers is 9. Twice the first integer plus thrice the second integer is 22. Determine the numbers.