Calculate The Length Of Line X