A farmer has twice as many chickens as ducks. After selling 166 chicken and 29 ducks, he has twice as many ducks as chickens. How many chickens did he have to start??

c = 2d

(d-29) = 2(c-166)

Now just solve for c and d

202

To solve this problem, let's break it down step by step.

Let's assume the number of ducks the farmer had initially is "D", and the number of chickens is "C".

From the given information, we have two equations:

1) "A farmer has twice as many chickens as ducks": C = 2D

2) "After selling 166 chickens and 29 ducks, he has twice as many ducks as chickens": (C - 166) = 2(D - 29)

To solve this system of equations, we can substitute equation 1) into equation 2) to eliminate C:

(2D - 166) = 2(D - 29)

Now, let's simplify and solve this equation:

2D - 166 = 2D - 58

By canceling out "2D" on both sides, we get:

-166 = -58

This equation is not possible, which means there is no solution. It appears there is an issue with the given information or conditions.

Please double-check the problem statement or provide any additional information to help resolve this issue.