I'm trying to understand the Maxwell's Equation example from David Tongs QFT notes. He uses the Lagrangian: $$ L = -\frac{1}{2}(\partial_{\mu}A_{\nu})(\partial^{\mu}A^{\nu})+\frac{1}{2}(\partial_{\mu}A^{\mu})^2 $$ To compute the equations of motion. I understand the Einstein summation notation but I don't understand how one computes $ \frac{\partial{L}}{\partial(\partial_{\mu}A_{\nu})}$
Can someone explain to me the steps to compute: $$ \frac{\partial{L}}{\partial(\partial_{\mu}A_{\nu})} = -\partial^{\mu}A^{\nu}+(\partial_{\rho}A^{\rho})\eta^{\mu\nu} $$