How do you solve for vf in d=1/2(vf+vi)t ?