I think you are having difficulty with the algorithm to work out how to allocate network usage. I think you are going to have to try it first the hard way, with pencil and paper.
Work out how long each computer will take to send the message, or send 10kB worth, and how long the delays are, and get a formula. Then implement that formula.
Example: on the back of the Highway Code in Britain it shows how long "thinking distance" and "braking distance" are at different speeds, 20ft + 20ft = 40ft at 20mph, and 70ft + 245ft = 315ft at 70mph. It is doubled on wet roads and up to 10-fold on icy roads. For that you can work out a formula that stopping distance = speed + speed squared / 20. That comes out in
Java as
Try it. At 100mph on solid black-ice that gives a stopping distance of a mile, near as makes no difference!
You will have to work out such a formula. I presume this is a Java programming assignment, not a networking assignment? Then it won't matter if the formula is wrong, as long as you can kid whoever is marking that it looks correct.
CR