Given the following PDE,
$$ \frac{\partial V}{\partial t} + \frac{1}{2}\sigma^2S^2\frac{\partial^2V}{\partial S^2}=0 $$ and its finite difference approximation, $$ \frac{V_n^{m+1}-V_n^m}{\Delta t} + \frac{1}{2}\sigma^2S_n^2\Gamma_n^m=0 \qquad (*) $$ where $$ \Gamma_n^m=\frac{V_{n+1}^{m}-2V_n^m + V_{n-1}^m}{\Delta S^2} $$
How do i show by considering suitable linear combination of (*) evaluated at mesh points $S_{n-1}$, $S_n$, $S_{n+1}$ that,
$$ \frac{\Gamma_n^{m+1}-\Gamma_n^m}{\Delta t} + \frac{1}{2}\sigma^2S_n^2\frac{\Gamma_{n+1}^m-2\Gamma_n^m+\Gamma_{n-1}^m}{\Delta S^2}+2\sigma^2S_n\frac{\Gamma_{n+1}^m-\Gamma_{n-1}^m}{2\Delta S}+\sigma^2\frac{\Gamma_{n+1}^m+\Gamma_{n-1}^m}{2}=0 $$
Actually I've managed to figure out that we just need linear combinations of 1, -2, 1 for (*) evaluated at $S_{n-1}$, $S_n$, $S_{n+1}$ respectively and we will get the required expression.