First way: suppose adding the first three pictures together will give us two rabbits, two cats, two dogs with a total of kg: 10+20+24=54 kg.
Thus the total of rabbits, cats, dogs is: 54/2=27 kg.
Second way: From picture one we have rabbit + cat = 10kg and picture two is rabbit + dog = 20kg.
From there we deduce: dog is 10 kg heavier than cat.
Combining with picture three, cat + dog = 24 kg, we deduce dog = (24+10)/2= 17kg, cat = (24-10)/2= 7 kg, combining picture one or two we deduce rabbit is 3 kg.
So in the last picture we have dog + cat + rabbit = 17 + 7 + 3= 27 kg.