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