from math import sqrt
print "Direccion entre dos puntos"
x1 = float(raw_input("x1: "))
y1 = float(raw_input("y1: "))
x2 = float(raw_input("x2: "))
y2 = float(raw_input("y2: "))
k = float(raw_input("k: "))
Dx = x2-x1
Dy = y2-y1
d2=Dx*Dx+Dy*Dy
d=sqrt(d2)
xu=Dx/d
yu=Dy/d
print "direccion (",k*xu+x1, ", " ,k*yu+y1, ")"