You can
put this solution on YOUR website!You have to build a cost table
no pig cow
1 110 185
2 220 370
3 330 555
4 440 740
5 550 925
6 660 1110
7 770 1295
8 880 1480
9 990 1665
10 1100 1850
11 1210 2035
...
if you can see the cost table you can find 6 cows cost 1110 and 10 pigs cost 1100.
In this way they can settle their debt.
Resullt:
Jones gives 6 Cows to Brown ..Worth $ 1110
Brown gives 10 pigs to Jones ..worth $1100
Difference 1110-1100=$ 10
Okay