Turn this word problem into an equation: Three times the difference of four times a number and two decreased by the sum of the number and five equals 22. Write an equation to solve for the number.