Answer: There are 20 pigs and 133 chickens.
Step-by-step explanation:
We know that a pig has 4 legs and a chicken has 2 legs.
Let x be the number of pigs and y be the number of chickens , then we have the following system of linear equations:-
[tex]\text{For heads }:\ x+y=153----(1)\\\\\text{For legs }:\ 4x+2y=346---------(2)[/tex]
Multiply 2 on both sides of equation (1), we get
[tex]2x+2y=306---------(3)[/tex]
Eliminate equation (3) from equation (2), we get
[tex]2x=346-306=40\\\\\Rightarrow\ x=\dfrac{40}{2}=20[/tex]
Put x= 20 in (1), we get
[tex]20+y=153\\\\\Rightarrow y=153-20=133[/tex]
Hence, there are 20 pigs and 133 chickens.