Pregunta de entrevista de MicroStrategy

Write an implementation for a 2D Line class.