Number of Chickens= 70
Number of Pigs= 90
let x represent the number of chicken and let y represent the number of pigs
x + y= 160
A chicken has two legs while a pig has four legs
2x + 4y= 500
x= 160-y
2(160-y) + 4y= 500
320 - 2y + 4y= 500
320 + 2y= 500
2y= 500-320
2y= 180
y= 180/2
y= 90
lets calculate the value of y
x + y= 160
x + 90= 160
x= 160-90
x= 70
Hence the value of x is 70 and the value of y is 90
There are 70 chickens and 90 pigs
Please see the link below for more information
https://brainly.com/question/812570?referrer=searchResults
#SPJ1