Solve the all parts of following question:
Problem: Two cars start racing from rest. The track is 400 meters long and linear. Car A accelerates at 3.4m/s2 and Car B accelerates at 3.0m/s2.
Part I: How far behind is Car B when Car A passes the finish line?
Part II: What is Car A's speed when it crosses the finish line?
Please help for the above question, completely confused!! Show each steps if possible, Thanks.