Answer:
I think you just have to measure the line segments with a ruler. To make it easier you can just measure it in the centimeter side to get the centimeters, and then convert the centimeters to millimeters on a measurements converter.
Hope this helped!