LG Electronics interview question

Create an UI component based on specification