CGS Technology interview question

was asked to do some designs