# An algebra teacher drove by a farmyard full of chickens and pigs. The teacher happened to notice that there were a total of 100 heads and 270 legs. How many chickens were there? How many pigs were there?

##### 2 Answers

There were

#### Explanation:

We shall represent the chickens as

From the first equation we can determine a value for

Subtract

In the second equation, substitute

Open the brackets and simplify.

Subtract

Divide both sides by

In the first equation, substitute

Subtract

There were

#### Explanation:

We shall represent the chickens as

From the first equation we can determine a value for

Subtract

In the second equation, substitute

Open the brackets and simplify.

Subtract

Divide both sides by

In the first equation, substitute

Subtract