Snow accumulates on a driveway according to the piecewise rate
r(t)={2+4t,10,0≤t≤2,t>2,
where r(t) is measured in centimeters per hour and t is the number of hours since the snowfall began. Find the total time t (in hours) required for 50 centimeters of snow to accumulate.