You need the flash plugin ! Get it »
Line, half line and line segment. All the points can be moved around. The intersection point will automatically appear if it exists.
Click and drag the points.