By my reckoning, the answer is 42.5. But the problem seems to contains a typo — since the answer, in the real world, should work out to a whole number of dogs. Alternatively, a more plausible subject should have been used. E.g., fractions of candy bars make sense; whereas, fractions of dogs do not.
These types of puzzles (sneakily) rely on the reader misinterpreting the question. A related one is this old classic:
A bat and a ball cost $1.10 in total. The bat costs $1.00 more than the ball. How much does the ball cost?
Most assume the ball must cost 10¢. Which is incorrect.