S=(lw+lh+wh) solve for w
S = lw + lh + whS - lh = lw + whS - lh = w(l) - w(h)S - lh = w(l - h) l - h l - h S - lh = w l - h