Solve for h t=1/2(d+h)