Let x be the amount of rain in the first hour
It rained 2x+7 inches in the second hour.
x+2x+7=22
3x+7=22
3x=15
x=<<5=5>>5 inches
#### 5