Capgemini interview question

Oop design pattern solid principal