Jesus....this shyt really has people fighting over a basic problem?
Let's look at this two ways....
EASY WAY
-60+70 = 10
-80+90 = 10
10+10 = $20 made
Now some people have been questioning how he had enough money to re-buy the goat at 80.
Alright...
MORE COMPLEX WAY
Dude starts with $60 dollars in his account (we won't assume anything else because it isn't stated in the question). This is a logical assumption.
He buys the goat. $0 in his account. Sells for $70. $70 in the account.
Goat costs $80 on the re-buy, so he needs to borrow $10 from someone (interest free since again, question doesn't say shyt about it). By borrowing money, he has 70 + 10 = $80 in his account. Buys the goat again. $0 in the account.
Sells the goat for 90. $90 in the account. Oh wait....gotta pay the friend back. He gives the 10 back...so 90-10 = $80 in the account.
Bank account at the start = $60
Bank account at the end = $80
He made $20 overall.
$20 is the only plausible answer. I don't know where y'all are throwing out these random ass numbers out, adding false conditions to the question etc. There's only one answer.