Solve for L s=n/2(a+L)