There are a total of 10 pigs and ducks in the barn. There are 36 legs in all (each p*g 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 solution as an ordered pair (x,y).
4 x + 2 y = 36
x+ y = 10 or y = 10-x sub this into firs equation
4x + 2 (10-x) = 36
2x + 20 = 36
x = 8 pigs 8+ y = 10 y = 2 ducks