How is dux and proxime accessit at burnside high school calculated

How would I put myself in a good position to be considered for these awards? And would taking only 5 subjects vs 6 subjects affect my chances?

Thanks!