It begins accelerating counterclockwise at 9 rad/s2 until its angular speed is doubled, then the angular acceleration is reversed until the wheel comes to a stop. How many times does the wheel spin (measured in number of rotations) between t = 0 and when the wheel comes to rest?

Fig: 1

Fig: 2