You cannot have a situation where you think that if you want to attack, then you play this formation, and if you want to defend, then you play this formation.
You cannot have a situation where you think that if you want to attack, then you play this formation, and if you want to defend, then you play this formation.