- For Teachers
If you using the clause to define which pencils, the comma is wrong, and you need, "Tira is going to give Hiro the pencils which she bought at the store last week.
Which pencils? - The pencils which she bought at the store. (No comma)
You can look here (and elsewhere):
Clauses - Restrictive and Nonrestrictive