When the mass of aluminum block is 50g, 882j heat is released and the temperature is reduced to 12 ℃, the original temperature? Specific heat capacity C = 0.88 * 10 ^ 3j / (kg ·℃) Do you have to set X? Is it OK not to set it up

When the mass of aluminum block is 50g, 882j heat is released and the temperature is reduced to 12 ℃, the original temperature? Specific heat capacity C = 0.88 * 10 ^ 3j / (kg ·℃) Do you have to set X? Is it OK not to set it up

Let the original temperature be X
882=0.05*0.88*10^3*(x-12)
x=32
Can you understand that?