A motorcycle starts from rest at t = 0 and travels along a straight road with a constant acceleration of 4ft/s^2 until it reaches a speed of 50ft/s . Afterwards it maintains this speed. Also, when t = 0, a car located 8000ft down the road is traveling toward the motorcycle at a constant speed of 40ft/s .
a) Determine the time when they pass each other.
b)Determine the distance traveled by the motorcycle when they pass each other. please show work.