In this amazing first principles derivation of the Einstein-Hilbert action there is one small manipulation needed to show
$$c g_{ab,cd}\left(\eta^{ac}\eta^{bd} - \eta^{ab}\eta^{cd}\right)$$
is equal to
$$(c/2)\eta^{bc}\eta^{ae}\partial_{a}\left(g_{be,c} + g_{ce,b} - g_{bc,e}\right) - (c/2)\eta^{ae}\eta^{bc}\partial_{c}\left(g_{be,a} + g_{ae,b} - g_{ba,e}\right).$$
I keep messing the indices up and doing potentially non-valid manipulations, I just can't start with the first thing and end up with the second thing! Some help doing this would massively be appreciated, I can even see the intuition on why second derivatives of the metric should give the Ricci curvature scalar, but I have no intuition for doing the math.