Artificial intelligent assistant

Cows and Ducks Word Problem Greg wants to know how many cows and ducks are in the meadow. After counting 56 legs and 17 heads, the farmer knows. How many cows and ducks are in the meadow?

Let $C$ be the number of cows, and $D$ the number of ducks. Each animal has just one head (I hope), so $C + D = 17$. On the other hand, each cow has four legs, and each duck has two legs, so $4C + 2D = 56$. Now you have two linear equations in two unknowns. Can you solve for $C,D$?

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 99dc077a1f234e6c10e8c0b1ac11e936