Equations so far...
s=d/t
d=t*s
t=d/s
V=Xf-Xo/t
tV=Xf-Xo
Xf=tV+Xo
Xo=Xf-tV
slope=(Yf-Yo)/(Xf-Xo)=
D
Y/
D
X