A 10x10 room can’t be split into 5x10 rooms.. need some space for the wall in between.
Then you have two doors, and the space those doors need. Two windows for emergency exits.
Then you have two doors, and the space those doors need. Two windows for emergency exits.