Mathematics ITP: Line graph