Pregunta de entrevista de Trax Retail

Which design pattern would you use in "this" situation.