Cognus Technology interview question

regarding the css flexbox and grid