Let’s solve it step by step.Let the number of cows be x.Then the number of chickens is 2x (since the farmer has twice as many chickens as cows).Total animals:$$x \text{ (cows)} + 2x \text{ (chickens)} = 30$$$$3x = 30$$$$x = 10$$So the number of chickens is:$$2x = 2 × 10 = \boxed{20}$$