D maybe this can help you for it
The last answer sets the most formal tone; "Hello! I was very pleased to meet you at the party last week." the rest are very casual.
Answer:
As soon as Shiro saw his master he ran to meet him, wagging his tail, and, seizing the end of his kimono, dragged him under a large yenoki tree. Here he began to dig very industriously with his paws, yelping with joy all the time. The old man, unable to understand what it all meant, stood looking on in bewilderment. But Shiro went on barking and digging with all his might.
Explanation:
I'm not too sure but the other parts in the story didn't seem like companionship to me, but in here the dog is helping the old man.
Ok!
An indirect object receives the object and comes between the verb and the direct object. For example, "I gave her a flower". In the sentence, "her" is the indirect object because "her" is receiving the object, "flower."
A direct object receives the action of the verb. For example, "She needs help". In the sentence, "help" is the direct object because it receives the action, "needs". It is what is needed.
Another example: "I like cake." "Cake" is the direct object, because it receives the action, "like".
The object of the preposition follows the preposition. "At school, I took a test."
In this sentence, "school" is the object of the preposition because it describes where and completes the preposition.
I hope this helped! If you're still confused, just send me a message! :)
Translation to English please.