Average or individual molar heat capacity?
They both are same. 

If you plug $C_{\mathrm{m},p,\mathrm{avg}}$ in your second equation, you will get your first equation. The average $C$ is calculated as a mole fraction weighted average.