The difference of three times a number and a second number is two. The sum of the two numbers is fourteen. What are the two numbers?