Mark spends 5 minutes finding parking and x minutes walking into the courthouse each day.
The total time he spends on these activities in a week with 5 workdays is 5 + x minutes per day * 5 days = 5x + 25 minutes.
2 days of the week it takes him 30 minutes to get through the metal detector, and the other 3 days it takes him 10 minutes.
The total time he spends on going through the metal detector in a week is 2 * 30 minutes + 3 * 10 minutes = 60 + 30 = 90 minutes.
Adding the time spent on parking, walking, and going through the metal detector, we get 5x + 25 + 90 minutes.
We are given that the total time spent on all these activities in a week is 130 minutes, so we can write: 5x + 25 + 90 = 130.
Solving for x, we get: 5x + 115 = 130.
Subtracting 115 from both sides, we get: 5x = 15.
Dividing both sides by 5, we get: x = 3.
The value of x is 3.
#### 3
The answer is: 3
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Mark is a lawyer who works at the county courthouse every day. It takes him 5 minutes to find parking and x minutes to walk into the courthouse. 2 days of the week it takes him 30 minutes to get through the metal detector and the other 3 days are less crowded so he gets through in 10 minutes. How long does he spend on all these activities in a week with 5 work days?
If we know the answer to the above question is 130, what is the value of unknown variable x?

### Answer:
