He gave me the book.(The book was given to me by him.)

She made me the cake. (The case was made to me by her)

He said to me."Did you buy chocolate yesterday?
(He asked me if I bought chocolate yesterday)