Hans reserved a table for twelve people.
Two of them are children, so there are 12 - 2 = 10 adults.
The deposit is a flat $x plus $3 per adult and $1 per child.
The total cost of the deposit is x + (3 * 10) + (1 * 2) = x + 30 + 2 = x + 32.
We are given that the deposit is $52, so we can write: x + 32 = 52.
Solving for x, we get: x = 20.
The value of x is 20.
#### 20
The answer is: 20
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Hans reserved a table at a fine dining restaurant for twelve people. He has to pay a deposit for the reservation, and the deposit is a flat $x plus an extra $3 per adult but only $1 per child. Two of the people in Hans’s party are his kid cousins, and the rest are adults. How many dollars does Hans have to pay as a deposit for the restaurant reservation?
If we know the answer to the above question is 52, what is the value of unknown variable x?

### Answer:
