Is there a story of Juan and Pedro to read before answering this because i havent red about them.
Is that rest of the question? : because I'm willing to help out more but you need to provide more information since all I could do is speculate what you're trying to asked.
Correct answer is a, el regalo is masculine therefore the direct object pronoun would become lo