Since dogs have 4 legs, then 2 dogs have a total of 2 x 4 = <<2*4=8>>8 legs.
So, there are 8 dog legs + 2 chicken legs = <<8+2=10>>10 legs in all.
#### 10