Let us see...
50 head of cattle = 24,500
Divide everything by 50: 1 head of cattle = $490
37 head of cattle = 18,870
Divide the entire equation by 37: 1 head of cattle = $510
The second choice would cost a person $20 more than the first choice, so 50 head of cattle for $24,500 is a better buy.