The formula for determining how long a hike will take is t=1/2(d+h) , where d is the distance in miles and h is the elevation gain in thousands of feet.
Solve for h.

A. h=2d-t

B. h=1/2t-d

C. h=2t-d

D. h=(t-d)/2