Think of a number.
Multiply it by $3$.
Add $6$.
Divide by $2$.

You have finished with $3$!

How does this work?