Vikki worked x hours in one week.
Her hourly pay rate is $10, so her total earnings for the week is 10x dollars.
20% of her earnings is deducted as tax, which means she pays 0.2 * 10x = 2x dollars in tax.
5% of her earnings is deducted as insurance cover, which means she pays 0.05 * 10x = 0.5x dollars for insurance.
$5 is deducted for union dues.
The total amount deducted from her earnings is 2x + 0.5x + $5 = 2.5x + $5.
Vikki takes home her earnings minus the deductions, so she takes home 10x - (2.5x + $5) dollars.
We are given that she takes home $310, so we can write: 10x - (2.5x + $5) = $310.
Simplifying the left side, we get: 10x - 2.5x - $5 = $310.
Combining like terms, we get: 7.5x - $5 = $310.
Adding $5 to both sides, we get: 7.5x = $315.
Dividing both sides by 7.5, we get: x = $42.
The value of x is $42.
#### 42
The answer is: 42
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Vikki worked x hours in one week. Her hourly pay rate is $10. From her weekly earnings, 20% is deducted as tax, 5% is deducted as insurance cover, and $5 is deducted for union dues. How much money, in dollars, does Vikki take home after deductions?
If we know the answer to the above question is 310, what is the value of unknown variable x?

### Answer:
