Pergunta de entrevista da empresa PointClickCare

Calculate the area between two parallel lines, dictated by a list coordinates.