You have two different substances (or rather, two different phases of the same compound) with different initial temperature. Without proof, I will say that the final temperature will be the same, which shouldn't be too surprising. Now there is a formula that relates change in temperature to something(s) that is given in the question. Also, you're assuming that the system (water + steam) is isolated.