in all position time graphs we know that slope of the graph will represent the velocity of motion
as we know that

here we know that

so here we know that the dog will stay at home for the time when slope of the graph will be zero
so here slope will be zero in this graph for t = 5 s
so correct answer will
option c