Valerie tells Robbie, "I'm thinking of a number between 1 and 50. If I divide the number by 4, then add 5, then subtract 6, I get 6.

(6 + 6 - 5) * 4

It is 28

To find the number Valerie is thinking of, we can work through the steps she mentioned.

Let's call the unknown number Valerie is thinking of "x."

According to Valerie's statement, if we divide x by 4 and then add 5, and finally subtract 6, the result is 6.

So, we can write this as an equation:

(x/4) + 5 - 6 = 6

To solve this equation, we'll follow these steps:

1. Subtract 5 from both sides of the equation:
(x/4) - 6 = 1

2. Add 6 to both sides of the equation:
(x/4) = 7

3. Multiply both sides of the equation by 4 (to get rid of the division):
x = 7 * 4

Simplifying the right side of the equation:
x = 28

Therefore, the number Valerie is thinking of is 28.