there are a total of 10 pigs and ducks in the barn. there are 36 legs in all all each pig has four legs and each duck has two legs , use substitution to solve the linear system of equations and determine how many pigs x and ducks y there are express the solutions as as ordered pairx,y