Question 7
Let $n$ be a positive integer. Each of Tom and Jerry has some coins. If Tom gives $n$ coins to Jerry, then Jerry will have 2 times as many coins as Tom. If instead Jerry gives 2 coins to Tom, then Tom will have $n$ times as many coins as Jerry. Find the sum of all possible values of $n$.