Oh, my mistake, sorry! I should have shown the image at first when I asked the question :/
Thank you both for your help :)
Lol
Here's an image:
Would this be right?
R= mB - T / K (for B)
T= RK - T / m
=mB - T / m + T
B= RK + T / m
Thanks guys!