T/P = (xp - xf)/(xf - xt).