Translation:Julia takes the tea from Peter and gives it to Raj.
If I'm correct then a literal translation (which helps for me) would be: Julia Peter-from tea takes and Raj-to gives.
Julia is the Subject, Peter and Raj are the indirect objects and the tea is the direct object.
Subject + (IndirectObject preposition) + DirectObject + Verb + Auxiliary, IndirectObject + preposition + Verb + Auxiliary.
@Sheryl Julia is the subject of both verbs and, the nouns in most example "model" sentences can be replaced easily with other nouns (male or female).
But if answering this question: Does the verb always take the gender of the subject?
Answer given later by @vinay92MOD
the verb "ALMOST ALWAYS" take the gender of the subject.
The exception is transitive verbs (verbs which can take direct objects) in certain tenses (simple past, perfective tenses etc) which take the gender of their object(s).