Wendy gave a total of 10 treats to her dogs. She gave her large dog 2 more treats than she gave her small dog. How many treats did she give to each dog?

L=S+2

L+S=10
S+2 +S=10
2S=8
S=4
L=6