KiwiCo interview question

How to structure solid principle in code?