Pergunta de entrevista da empresa JTG

Design an animation based on the constraints