x − am o u n t o f ye ll o w l ab s y − am o u n t o f t err i ers { x = 5 y x + y = 18 S u b s t i t u t i o n 5 y + y = 18 6 y = 18 ∣ D i v i d e b y 6 y = 3 x = 18 − 3 = 15 T h ere a re 3 t err i ers .
There are 3 terriers in the dog park. We set up the equations based on the relationships given about the number of dogs. By substituting and solving the equations, we find the number of terriers and dogs in total.
;