If the sum of a number and seven is tripled, the result is two less than twice the number, find the number.