EDF interview question

How would you prioritise between 2 tasks