The feeding group raised a total of 1720 chickens and ducks, sold half of the chickens and bought 260 ducks. At this time, the number of chickens and ducks was equal

The feeding group raised a total of 1720 chickens and ducks, sold half of the chickens and bought 260 ducks. At this time, the number of chickens and ducks was equal

If x chickens were raised, the number of ducks was (1720-x)
0.5x=1720-x+260
x=1320