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