Keystone Logic interview question

How do I handle high priority task and other task and complete within the deadline