Solve for l s=2lw+2lh+2wh