You need to do enthalpy balance
Total enthalpy in = total enthalpy out
If you know the specific heat, you can simplify the calculation:
1. select reference temperature e.g. the lowest temperature of the inlet stream
2. calculate the heat content for each stream at inlet using mass x specific heat x temperature difference
3. similarly calculate the heat content of outlet stream
4. solve for outlet stream temperature