The sum of a number and twicetwice a second number is 14. When the second number is subtracted from the first​ number, the difference is 2. Find the two numbers.