Answer
Number of goats = 14
Number of chickens = 9
Work Step by Step
Let the number of goats be x and the number of chickens be y.
Thus we can say the total number of animals will be:
$x+y=23$
Each goat has 4 legs and each chicken has 2, thus we get
$4x+2y=74$
Now, we find:
$(4x+2y)-2(x+y)=74-2\times23$
$4x+2y-2x-2y=28$
$2x=28$
Therefore,
$x=14$
This gives:
$y=9$
Therefore:
Number of goats = 14
Number of chickens = 9