Solve for W S=2LH+(2L+2H)W