Solve for h A=(h+b)/2