This problem involves setting up and solving a system of linear equations based on the given information about heads and legs.
Let $C$ represent the number of chickens and $G$ represent the number of goats.
We can use the substitution method. First, express $G$ in terms of $C$ using the heads equation:
From $C + G = 42$, we get $G = 42 - C$.
Now, substitute this expression for $G$ into the legs equation:
$ 2C + 4(42 - C) = 138 $Simplify and solve for $C$:
Therefore, there are 15 chickens.
If $C = 15$, then $G = 42 - 15 = 27$.
Check the total legs: $(2 \times 15) + (4 \times 27) = 30 + 108 = 138$. The calculation is correct.
Study the given pattern carefully and select the numbers from among the options that can replace the question marks (?).
Study the given pattern carefully and select the number from among the given option that can replace the question mark (?).

If '$+$' means 'subtraction', '$\div$' means 'addition', '$-$' means 'multiplication' and '$\times$' means 'division', then what is the value of $(8 + 2 - 19) - (4 + 27 \times 3)$?
If '+' means 'subtraction', '-' means 'multiplication', 'x' means 'division' and '÷' means 'addition', then what will come in place of the question mark (?) in the following equation?
$9 - 5 + 82 \times 2 \div 17 = ?$
What will come in place of the question mark (?) in the following equation, if '+' and '-' are interchanged and '$\times$' and '$\div$' are interchanged? $28+125\times5-12\div3= ?$
What will come in place of the question mark (?) in the following equation, if '+' and '-' are interchanged and '$\times$' and '$\div$' are interchanged?
$26\times2-21+7\div4=?$
If '+' means 'subtraction', '-' means 'multiplication', 'x' means 'division' and '÷' means 'addition', then what will come in place of the question mark (?) in the following equation?
12 + 105 \(\times\) 3 \(\div\) 14 - 3 = ?
What will come in place of the question mark (?) in the following equation, if ‘+’ and ‘×’ are interchanged and ‘−’ and ‘÷’ are interchanged?
38 ÷ 7 + 5 × 20 − 4 = ?