@LSDinmycoffee
He made $20. $10 the first time, $70-$60=$10, and $10 the second time, $90-$80=$10, for a total of $20.
Analysis
Basic economic math, the reason some people are wealthier than others.
The price of the goat has nothing to do with it. This isn't a cash flow problem