Hi, I'm trying to do this physics problem, but I just can't seem to figure out how to do this problem involving tension. I think it has something to do with adding the masses together on either side of Tc, but I can't seem to come up with the correct answer.

Any help is greatly appreciated, thanks!