A farmer has a total of 50 chickens and pigs on his farm. Each chicken has 2 legs, and each pig has 4 legs. If the total number of legs among all the chickens and pigs is 140, and represents the number of chickens and represents the number of pigs, which of the following systems of equations can be used to find the number of chickens and pigs on the farm?