Answer:
Alex's number is 3.
Explanation:
Let's call Alex's number x.
He squares it:

Then he takes away 5:

Then he multiplies by 4:

Then takes away 7:

Then he divides all that by 3:

Then he adds 6 to all that, and it equals 9:

So let's start breaking that down. Subtract 6 from both sides to get:

Then to get rid of the one-third fraction, multiply both sides by 3:

Add the 7 to both sides:

Then multiply out the expression on the left:

Add 20:

Divide by 4:

And then take the square root of both sides:

We should test it using the words given:
- He thinks of 3.
- Squares it and gets 9.
- Takes away 5 and gets 4.
- Multiplies by 4 and gets 16.
- Takes away 7 and gets 9.
- Divides by 3 and gets 3.
- Adds 6 and gets 9.
So the answer checks out. You should always check your work by plugging the answer you found back into the given problem.