Solve the all parts of given question:
Question: A 1000-kg car traveling with an x component of velocity of +20 m/s collides head-on with a 1500-kg light truck traveling with an x component of velocity of -10 m/s.
Part A: If 10% of the system's kinetic energy is converted to internal energy during the collision, what are the magnitudes of the final speeds of the car and truck?
Part B: If the car had instead rear-ended the same truck moving with an x component of velocity of +10 m/s, how would your answer to part a change?
Please clarify the equations and steps are used to get the answer. Thanks!