$$ f_{S}=\frac {f_{G }}{1-{\frac {v_{1}}{c}}}-\frac {f_{G }}{1-{\frac {v_{2}}{c}}} \\ $$
$$\frac {f_{S}}{f_{G }}=\frac {1}{1-{\frac {v_{1}}{c}}}-\frac {1}{1-{\frac {v_{2}}{c}}} \\ $$
$$ \frac {f_{S}}{f_{G }}\cdot \left( 1-{\frac {v_{2}}{c}}\right)=\frac {1-{\frac {v_{2}}{c}}}{1-{\frac {v_{1}}{c}}}-\frac {1-{\frac {v_{2}}{c}}}{1-{\frac {v_{2}}{c}}} \\ $$
$$ \frac {f_{S}}{f_{G }}\cdot \left( 1-{\frac {v_{2}}{c}}\right)=\frac {1-{\frac {v_{2}}{c}}}{1-{\frac {v_{1}}{c}}}-1 \\$$
$$ \frac {f_{S}}{f_{G }}\cdot \left( 1-{\frac {v_{2}}{c}}\right)-\frac {1-{\frac {v_{2}}{c}}}{1-{\frac {v_{1}}{c}}}=1 \\$$
$$\left(\frac {f_{S}}{f_{G }} -\frac {1}{1-{\frac {v_{1}}{c}}} \right)\cdot \left( 1-{\frac {v_{2}}{c}}\right)=1 \\$$
$$1-{\frac {v_{2}}{c}}=\frac {1}{ \frac {f_{S}}{f_{G }} -\frac {1}{1-{\frac {v_{1}}{c}}} } \\$$
$$1-\frac {1}{ \frac {f_{S}}{f_{G }} -\frac {1}{1-{\frac {v_{1}}{c}}} }={\frac {v_{2}}{c}} \\$$
$$v_2= c\cdot \left( 1-\frac {1}{ \frac {f_{S}}{f_{G }} -\frac {1}{1-{\frac {v_{1}}{c}}} }\right) \\$$