Let's say that we have such an equation:
$$f_k = \sum_{i=0}^{k}{k \choose i}g_i$$
Prove that in that case we can express $g_k$ like this:
$$g_k = \sum_{i=0}^{k}(-1)^{k-i}{k \choose i}f_i$$
In order to prove that, count how many $f$'s and $g$'s there are on the right and on the left.
This is basically just an exercise in manipulating binomial coefficients and summations.
$$\begin{align*} \sum_{i=0}^k(-1)^{k-i}\binom{k}if_i&=\sum_{i=0}^k(-1)^{k-i}\binom{k}i\sum_{j=0}^i\binom{i}jg_j\\ &\overset{(1)}=\sum_{j=0}^k\sum_{i=j}^k(-1)^{k-i}\binom{k}i\binom{i}jg_j\\ &\overset{(2)}=\sum_{j=0}^k\sum_{i=j}^k(-1)^{k-i}\binom{k}j\binom{k-j}{k-i}g_j\\ &=\sum_{j=0}^k\binom{k}jg_j\sum_{i=0}^{k-j}(-1)^i\binom{k-j}i\,. \end{align*}$$
Step $(1)$ is just reversing the order of summation, and $(2)$ is applying a standard binomial coefficient identity: $\binom{k}i\binom{i}j$ and $\binom{k}j\binom{k-j}{k-i}$ are both the number of ways to split $k$ things into three sets of cardinalities $j$, $i-j$, and $k-i$.
Now by the binomial theorem
$$\sum_{i=0}^{k-j}(-1)^i\binom{k-j}i=\begin{cases} 1,&\text{if }k=j\\ 0,&\text{otherwise,} \end{cases}$$
since $\binom00=1$, so
$$\sum_{i=0}^k(-1)^{k-i}\binom{k}if_i=\binom{k}kg_k=g_k\,,$$
as desired.