sqrt((0-x)^2+(0-y)^2) = .5*sqrt((5-x)^2+(0-y)^2)