The attached diagram gives a visual representation of how to calculate lineal feet.