i spent so much time putting this equation together, but now I'm so confused solving for T

110 g x 4.816 J/g/C x (T-17)+31g x 0.385J/g/C x (T-300)=0

Can you help me