You find the comparisons by listing the comparisons for each pass when you are sorting. Theres no easy way. I think the max number of comparisons
0.5(n)(n-1) is the formula for total passes not one passes and it asks for total number of comparisons. Not 100% sure tho.