Pregunta de entrevista de KiwiCo

How to structure solid principle in code?