You can put this solution on YOUR website! 4 years ago the combined age of 3 dogs was 24. What will the combined age be in 2 years time?
============
Each dog will have aged 6 years (unless 1 or more dies) --> 18 years
24 + 18 = 42
=============================
Is that not obvious?