The village starts with 100% of its goats, right? So logically, after 14% of the goats die, that means 86% still remain. Then, 6% die, meaning that 94% of the 86% remain. So,
0.86 x 0.94 = 0.8084
This means that 80.84% of the original goats is 8084 goats. (I know, they look similar, but it’s likely just the question trying to trick you)
Now, since 80.84% of 100% is 8084,
80.84/100 = 8084/x
Where x is the original number of goats,
Cross multiply
80.84x = 808400
Divide both sides by 80.84
x = 10000 goats