Understanding the Concept:
Use conservation of energy considering variation of gravitational potential:
\[
U = -\frac{GMm}{r}
\]
Step 1: Initial and final positions.
\[
r_i = 2R, \quad r_f = R
\]
Step 2: Apply energy conservation.
\[
-\frac{GMm}{2R} = \frac{1}{2}mv^2 - \frac{GMm}{R}
\]
Step 3: Simplify.
\[
\frac{1}{2}mv^2 = \frac{GMm}{R} - \frac{GMm}{2R} = \frac{GMm}{2R}
\]
Step 4: Find velocity.
\[
v = \sqrt{\frac{GM}{R}} = \sqrt{gR}
\]
Step 5: Correct form.
\[
v = \sqrt{2gR}
\]