A ball starting from rest rolls 9 cm down an incline on which its acceleration is 21 cm/s2, then onto a second incline 45 cm long on which its acceleration is 6 cm/s2. How much time does it spend on each incline?