We're being asked to just distribute the negative sign. Based on PEMDAS, we can say that the (d-e) is what we should evaluate first, because every time you go a step deeper you run into a parenthesis until this part, so:
![a-(b-(c-d+e-f)-g)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/jy46kyhm9mgkfu127hg0p8bqznhzb7gqpl.png)
Next we go to the inner most parenthesis, which is the c-d+e+f part:
![a-(b-c+d-e+f-g)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/8spmfzv7rdgjq0l5bfbazlub75n5b0bcyp.png)
And now we just distribute the last negative to conclude:
![a-b+c-d+e-f+g](https://img.qammunity.org/2019/formulas/mathematics/middle-school/wlfdhv51t9nvvgz5byoivtp6jx9qjz1yd3.png)