The expression for the velocity v was obtained in part a),
r=vdt=40t+d1i+−t2+d2jt=0 r=400j d1=0 d2=400r=40ti+−t2+400j