In order to find how many pigs the farmer had originally all you have to do is add three to amount of pigs he sold, since three of the died. In order to find how many he sold all you need to do is divide 109 by 8, since he made a profit of $8 per pig. 109 / 8 = 13.625, 13.625 + 3 = 16.625