To solve this problem, we need to determine the value of x, which represents the number of coins Joanne gave to her coworker.
Let's break down the information given:
Number of coins collected in the first hour: 15
Number of coins collected in the next two hours: 35 + 35 = 70
Number of coins collected in the fourth hour: 50
Number of coins Joanne had after the fourth hour: 120
We can set up the equation as follows:
Number of coins collected in the first hour + Number of coins collected in the next two hours + Number of coins collected in the fourth hour - Number of coins given to coworker = Total number of coins
15 + 70 + 50 - x = 120
Let's simplify and solve for x:
135 - x = 120
To isolate x, we subtract 135 from both sides of the equation:
135 - x - 135 = 120 - 135
-x = -15
Finally, we multiply both sides of the equation by -1 to solve for x:
x = 15
The value of x is 15.
#### 15
The answer is: 15
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Every hour Joanne has to collect the coins out of the fountain inside the mall. During the first hour, she collected 15 coins. For the next two hours, she collected 35 coins from the fountain. In the fourth hour, she collected 50 coins from the fountain but she gave x of them to her coworker so she could buy a soda. She had 120 coins after the fourth hour.

### Answer:
