Answer:
Carlos walked 14 dogs
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 =

As Carlos walked 3 more dogs than Brooke,
Number of dogs that Carlos walked =

Also, total number of dogs walked this week is equal to 31.
So,

Therefore, Carlos walked
dogs