Final answer:
By setting up a system of linear equations, we determined that there are 3 pigs and 6 turkeys on the farm based on the given information about legs and wings.
Step-by-step explanation:
The question presents a problem that requires solving a system of linear equations. Considering that a pig has 4 legs and no wings, and a turkey has 2 legs and 2 wings, we can set up the following equations:
- 4p + 2t = 24 (total number of legs)
- 2t = 12 (total number of wings)
Solving the second equation, we find that t = 6. Substituting the value of t in the first equation: 4p + 2(6) = 24, we get 4p + 12 = 24.
Now solving for p, 4p = 12, we determine that p = 3. Therefore, there are 3 pigs and 6 turkeys.