Step-by-step explanation:
The added water is hotter than the coffeecup water because the final temp is higher.....
sooooo......
heat lost by the 30 g hot water = heat gained by 27 g cooler water
30.0 g * 4.182 j/g * ( Ti- 29.1)C = 27.0 g * 4.182 j/g * ( 29.1 - 15.8 ) C
30 * (Ti - 29.1) = 27 ( 29.1 - 15.8 ) <=====solve for Ti
Ti = 41.1 C <===== ( to three signif dig)