Solve the formula A=1/2h(b+B) for h