For question one, I believe you're answer is D: Object of a Preposition
For question two, I believe you're answer is A: Direct Object
Hope this helps!
9.5m questions
12.2m answers