Six times a number equals 3 times the number, increased by 24, find the number.