Intersection point of two LL


Hi, can anyone pls tell me why i am getting a runtime error