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