The result of subtraction of two numbers is equal to 3/7 of their sum. If the smaller number is 6, what is the other number?