Amazon interview question

In what order would you complete these three tasks...