KiwiCo Interview Question

How to structure solid principle in code?