Well the force on the particle due to gravity is $mg,$ where $g$ is the acceleration due to gravity, so the net downward force on the particle is $m(g-kv).$ So its acceleration is $g-kv.$ So you need to solve $dv/dt = g-kv$ given the initial conditions. That is
$$\int_0^V \frac{ \text{d}v}{g-kv} = \int_0^T \text{d}t.$$