Thermodynamics Question?

I’m having a really hard time figuring this out. I’m thinking about using the equation m1u1-m2u2=Q but I have too many unknowns.
3 answers 3