He said he had done it the week before.
He said he did it last week.
Are they correct and mean exactly the same?
My textbook says that the following two are identical in meaning:
He said that he went to the theater yesterday.
He said that he had gone to the theater the day before.
Does this work with the phrase last week?