I might be wrong, but would it be best to solve the two distances by plugging them into the kinematic equations with both accelerations and then adding them together? Of course, for the second distance equation, you would need to find the final velocity of the first part with the acceleration 2.0 m/s^2 and use that as your velocity initial for the second distance equations.
So I would do it like this.
Part 1:
Xf = X0+V0t+1/2at2
Where X0+ V0t = 0 (assuming we are starting at rest and letting the initial x position be zero) so you can get rid of that part of the equation, so the distance traveled becomes 1/2at2
So X = 1/2(2)*32 = (1/2)* 18 = 9 meters.
Before we start part 2 and add the equations we need to find the Vf for part 1 so we can use that as our V0 for part 2 since the object doesn't stop and start driving again before it lowers it's acceleration.
We know that Vf = V0 + at
Well, V0 = 0 since we started from rest so Vf = a*t
so Vf = 2(3) = 6 m/s
For part 2: we can use the same distance equation:
Xf = X0+V0t+1/2at2
Where X0 is = 9 meters and V0 = 6m/s
So we have 9 meters + 6m/s*t+ 1/2at2
Well, we know that t is equal to 5 seconds and acceleration is 1 m/s, so we have
9 meters + 6m/s*(5)+ (1/2)*(1)+(52) which is equal to 51.5 meters which should be your answer