Can anyone please explain me if the following two sentences are grammatically correct? If so, how they differ in meaning?
If I had gone back when I was unemployed for one year after my graduation, I would have invested my time in many productive works.
And
If I could go back when I was unemployed for one year after my graduation, I would have invested my time in many productive works.
In the first sentence, I have used past perfect ("had gone") in the subordinate clause, whereas in the second sentence, I have used past indefinite ("could go") in the subordinate clause.
I am trying to express a feeling that I want to go back to a certain time in the past so that I could invest my time in that duration.