three times a number n minus two equals the sum of n and six.

3n - 2 = n + 6