It should be a 9X9 room, 7 block high, spawner in the middle with 4 block gap below it, a half slab at top of it with one block gap between the room and the half slab. It just how you make a normal mob grinder in survival, you a watch video on YouTube search spawner mob grinder for a detailed tutorial