The total amount of all the items Pauline wants to buy is $150.
Sales tax is x% of the total amount purchased, which means the sales tax amount is (x/100)*$150.
The total amount Pauline will spend on all the items, including sales tax, is the sum of the total amount of the items and the sales tax amount: $150 + (x/100)*$150.
We are given that the total amount Pauline will spend is $162, so we can write: $150 + (x/100)*$150 = $162.
Simplifying the left side, we get: $150 + $1.5x = $162.
Subtracting $150 from both sides, we get: $1.5x = $12.
Dividing both sides by $1.5, we get: x = 8.
The value of x is 8.
#### 8
The answer is: 8
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Pauline is buying school supplies. The total amount of all the items she wants to buy add up to $150 before sales tax. Sales tax is x% of the total amount purchased. How much will Pauline spend on all the items, including sales tax?
If we know the answer to the above question is 162, what is the value of unknown variable x?

### Answer:
