math
posted by Eddie on .
there are a group of ducks and goats there are 99 heads and legs among them there twice as many ducks than goats are many ducks and goats are there?

x = number of goats
x = goat heads
4x = goat legs
2x = number of ducks
2x = duck heads
2(2x) = 4x = duck legs
x + 4x + 2x + 4x = 99
11x = 99
x = 9
x = 9 = number of goats
2x = 18 = number of ducks 
i cant count how many goat all i know is there was a 25 heads including ducks and goat and 74 legs,how many ducks and how many goat that i had