The sum of two numbers is 15. When one of these numbers is added to three times the other, the result is 27. What are the numbers?