During a nine hour snowstorm it snows at a rate of 1 inch per hour for the first two hours, at a rate of 2 inches per hour for the next six hours, and at a rate of 1 inch per hour for the final hour. how many inches of snow accumulated from the storm?