I think a number. If I subtract 8 from it and multiply the difference by 3, the result is 21. What is a number?

(x-8)*3 = 21

now just solve for x