First, find the energy balance - basically mass flow x thermal capacity x delta T is the same on both sides.
Edit to add
There's an error in your energy balance: on the left hand side it's simply $\Delta T$, not the derivative. Also make sure to use the correct values for $c$ as you have two different media.
Then, find something like this for your valve: