What would be to best way to have a form calculate these values?

Hello guys,

I am currently working on a project where I have divisions for a league. Each division consists of:

  1. teams in the division.
    1.1 each team has a Captain, a hotspot and the contact info for the hot spot.
  2. the number of times each time will play each other
  3. the date in which the division will begin.

After entering the data in the form, how can I have meteor take the data and output a schedule that looks similar to the one in the file I uploaded.

Each team plays one other team each week. And they each need to play each other six times.

In the file I have 6 teams playing each other 4 times which results in a 20 week division.

So what is the best way to take the data I enter in the number list above and have it turn into a schedule like the one in the file? Any input on this will be greatly appreciated!