A piece of glass has a temperature of 87.0 °C. Liquid that has a temperature of 32.0 °C is poured over the glass, completely covering it, and the temperature at equilibrium is 57.0 °C. The mass of the glass and the liquid is the same. Ignoring the container that holds the glass and liquid and assuming that the heat lost to or gained from the surroundings is negligible, determine the specific heat capacity of the liquid.
I know that I need to use the equation of Q=CmdeltaT but I'm totally confused.