Recall the definitions of molality and molarity, it is mol solute / kg of solvent and mol solute/ Vol of solution in (L). It is not kg of solution in molality. Instead of memorizing a plug and chug formula, would not it be far better to understand the conversion and do it yourself?
I quote an example from General Chemistry by Ebbing and Gammon (2016). Read the strategy:
Molality to Molarity: An aqueous solution is 0.273 m
$\ce{KCl}$. What is the molar concentration of potassium chloride,
$\ce{KCl}$ ? The density of the solution is 1.011 x 10$^3$ g/ L.
Problem Strategy You are asked to determine the molarity of the
solution, which is the moles of solute $(\ce{KCl})$ per liter of
solution (volume of $\ce{H2O}$ and $\ce{KCl}$. The molality tells you that the solution
contains 0.273 mol $\ce{KCl}$ in $1 \mathrm{~kg}$ of
water. If we determine the volume of solution that contains $0.273
\mathrm{~mol} \ce{KCl}$, we should be able to calculate the
molarity. Because the solution is made up of only $\ce{KCl}$ and
water, the solution mass is the mass of 0.273 mol
$\ce {KCl}$ plus the mass of 1.000 kg of water. Knowing
the total mass of solution, we then can use the solution density to
convert from the mass of solution to the volume of solution. The
molarity is obtained by dividing the moles of solute by the volume of
solution in liters.
EDIT: Now that the OP posted the text, we can discuss the hints.
The equation $$V=\frac{1000+mM_2}{d}$$
is derived from mass balance principle. Keeping the above discussion in mind,
$$Total\hspace{0.15cm}mass\hspace{0.15cm}of\hspace{0.15cm}solution, M=mass _{solvent} + mass_{solute}$$
This is in grams. Now recall the mass volume relation from density. Here $V$ is the volume of solution not the solvent.
$$d=\frac{M}{V}$$ or $$M=dV$$
These hints should be enough to derive the desired equation.