Three times the sum of a number and 4 is twice a number minus 8.