you need 4x Side walls to have a fully enclosed 20x20 tent.
you need 6x Side walls to have a fully enclosed 20x40 tent.