The correct answer is A buck an ear.
This is supposed to be the amount of money and things he gave for it like a dollar and an ear that was pierced, but it is a pun because he's a pirate and when read it sounds like buccaneer which is related to pirates and sea journeys, so it's a funny pun.