6 dogs have 6 x 4 = <<6*4=24>>24 feet.
2 ducks have 2 x 2 = <<2*2=4>>4 feet
In total there are 24 + 4 = <<24+4=28>>28 feet in the garden
#### 28