contestada

Farmer Fred went to market to sell 51 animals. He sold each pig for $10, each cow for $20 and each chicken for $5.
Happy and exhausted he returned home with $505.
How much in transport fees would Farmer Fred have to pay if he was charged:
$1 per cow,$0.50 per pig and $1 per 3 chickens?