Distributing objects — Grasshopper

So I’m in trying to auto-furnish a classroom plan. I’ve figured out the walls, doors and windows, but struggling with the interior tables.

I want to distribute the tables and chairs, with set distances like this.

Screenshot 2022-04-01 at 11.55.52

The idea is to represent one set of furniture (table + 2 chairs) as a block. They will be distributed with a minimum distance according to the “local boundaries” (distance between tables). I also distribute the whole group of blocks according to “global boundaries” (distance to window and blackboard).

Any ideas on how to make this kind of distribution? Grids? Arrays? I’m really lost right now…

I have a related task. I’m trying to make the gap distance between all these squares 1/8" without losing the integrity of the pattern. For some reason when I use the Distribute command and apply a gap spacing of .125" It spreads the squares much much further apart than 1/8."
Square Distribution.3dm (3.1 MB)

Is this a GH question? Where is the GH file?

I don’t see a 6 m by 6 m room plan either? Mixing inches and meters?

In fact, I don’t see a room plan at all?

I don;t know if it needs to be a GH question. I was trying to use the distribute command line in rhino as I outlined above and it was spreading the square way way more than 1/8." My units settings are inches.