t =(((y4-y3)/((y2-y1)+y1-y3))-((x4-x3)/((x2-x1)+x1-x3)))*2