Answer:
Carlos walked 14 dogs
Step-by-step explanation:
Let x denotes number of dogs that Carlos walked this week.
As Allyson walked 5 less dogs than Brooke,
Number of dogs that Allyson walked = [tex]x-5[/tex]
As Carlos walked 3 more dogs than Brooke,
Number of dogs that Carlos walked = [tex]x+3[/tex]
Also, total number of dogs walked this week is equal to 31.
So,
[tex]x+x-5+x+3=31\\3x-2=31\\3x=31+2\\3x=33\\x=\frac{33}{3}\\ x=11[/tex]
Therefore, Carlos walked [tex]x+3=11+3=14[/tex] dogs