Bruce H. answered 03/14/19
PATIENT/TRUSTWORTHY DR B-ADVANCED (PAP/HONORS)+AP(MAY EX=>4)+GEN CHEM
This is an application of the First Law of Thermodynamics as applied to a Calorimetry example, where heat lost (exothermic process) by the hot object (the aluminum) is equal to heat gained (endothermic) by the cold object (water in the beaker).
Mathematically, then, -qAL=qH20, where q=either heat evolved or gained
or -mcdeltaTAL=Heat gained by the water
so m=Heat gained by the water divided by the product of -cdeltaTAL
deltaT for the AL=325K-301K=-24K
One needs c (the specific heat for AL) to complete the calculation.