What effect do ineligible miles have on the state transportation aid calculation?

The Calculation for State Transportation Aid, Line 36, backs out the cost for ineligible miles by only multiplying the cost per mile (Line 35) by the eligible miles (Line 29).