To find the differential equation we need to set up Newton's Second Law
-W -k v = m a
Where W is the weight and the negative sign in kv comes from drag force acting in the opposite direction as v.
-W/m = dv/dt + k/m v
This is a differential equation that can be solved by integrating factor.
-W/m ek/m t = d/dt( ek/m t v)
-W/k + c e-k/m t = v(t)
Applying the initial conditions
v(t) = -W/k + (W/k + v0) e-k/m t
The time at its peak should be
t = -m/k ln(W/(W+kv0)).
Notice that the mass m should be W/g = 1/2 lbs / 32ft/s2
v(t) = -64 ft/s + 96 ft/s e- t/2s
v(tmax) = 0 → tmax = -2 ln(64/96)
Δx = xf - xi = xf - 5 ft = ∫0-2ln(64/96) -64 + 96 e-t/2 dt = 12.10
xf = 17.10