There are 5 large dogs and 3 small dogs
Solution:
Let "S" be the number of small dogs
Let "L" be the number of large dogs
Given that There are a total of 8 small and large dogs
So we can frame a equation as:
number of small dogs + number of large dogs = 8
S + L = 8 ------- eqn 1
You realize there are 2 more large dogs than small dogs
Number of large dogs = 2 + number of small dogs
L = 2 + S -------- eqn 2
Let us solve eqn 1 and eqn 2 to find values of "L" and "S"
Substitute eqn 2 in eqn 1
S + 2 + S = 8
2S + 2 = 8
2S = 6
S = 3
Substitute S = 3 in eqn 2
L = 2 + 3 = 5
L = 5
Thus there are 5 large dogs and 3 small dogs