# Magical Number

**Algebra**Level pending

One day Bob was bored, so his friend taught him a trick:

"Tell the person to think of any positive integer. Tell them to then add 4, multiply by 2, subtract 6, then divide by 2. Finally, take that number and subtracted it by the positive integer they first thought of. Surprising enough, the answer is always \(x\)!"

What is \(x\)?