Competition setup:

Calculations: