human
In the second hour of a storm it rains 7 inches more than twice the amount it rained the first hour. The total amount of rain in the first two hours is 22 inches. How much did it rain in the first hour?
assistant
Define a variable ** Let x be the amount of rain in the first hour
How many inches did it rain in the second hour? ** It rained 2x+7 inches in the second hour.
Set up an equation ** x+2x+7=22
Combine like terms ** 3x+7=22
Subtract 7 from both sides ** 3x=15
Divide both sides by 3 ** x=<<5=5>>5 inches
#### 5