Thrust force $R$ on rocket is given by $M\dfrac{\mathrm dv}{dt}$ = $- v_{rel}\dfrac{\mathrm dm}{dt}$ where $\dfrac{\mathrm dm}{\mathrm dt}$ is the rate of fuel consumption and $ v_{rel}$ is the velocity of rocket relative to the ejected mass.
Assuming absence of gravitational field,
Multiplying both sides by $dt$ we get
$$\mathrm dv= -v_{rel}\dfrac{\mathrm dm}{M} \\\\\ \implies \int_{v_i}^{v_f} dv= -v_{rel} \int_{M_i}^{M_f} \dfrac{\mathrm dm}{M} \\\ \implies v_f - v_i= v_{rel}\ln\dfrac{M_i}{M_f} $$
where $M_i$ is inital mass, $M_f$ is final mass. You are given relative velocity of rocket with respect to fuel as $-v_{fuel}$ . You can easily compute $M_f$.
If gravity was there too, you would get an additional term $gt$ in the final equation.