I don't understand why you used
2(-Vi-Vf)d=t
t is not velocity/distance if there is acceleration.
I am assuming the acceleration to be a constant here. Use the laws of motion to find the acceleration. Once acceleration is determined it is easy to find how long the dog took to reach a final...