Solve the all parts of following problem given below:
Problem: A bus accelerates at 1.6 m/s2 from rest for 10 s. It then travels at constant speed for 23 s, after which it slows to a stop with an acceleration of magnitude 1.4 m/s2.
Part A: What is the total distance the bus travels in km?
Part B: What was its average velocity in m/s?
Please show me how you solve the problem.