I don't understand "I wish~"

the following questions is in my textbook.

  1. I should have listened to you. I wish ______ your advice

  2. It would be nice to stay here longer. I wish ______ to go now

  3. Joe still doesn’t know what hw wants to do. I wish ______

I wrote in these blank

  1. I would take

  2. we hadn’t had

  3. he decided

the solution in the text book is

  1. I had taken

  2. we didn’t have

  3. he would decide

I don’t understand the difference well.

Please teach me!!

Let me - even though I am a learner as well - try to help you since nobody has answered as yet. Be conscious I can’t guarantee the below explanation is 100% correct.

All three are hypothetical situations for which we should use the subjunctive mood.

  1. I should have listened to you. I wish __ I had taken __ your advice .

  2. It would be nice to stay here longer. I wish __we didn’t have __ to go now .

  3. Joe still doesn’t know what he wants to do. I wish __he would decide __ .

In #1, “I should have listened to you.”
It should have happened in the hypothetical simple past. (It didn’t happen.) For that reason, in #1, with “wish” we use the deep hypothetical past, it means the past perfect subjunctive, “had taken”. (As it can be noticed the past perfect subjunctive takes exactly the same form as the past perfect indicative.) “Should have happened” is the perfect conditional which is always used in subjunctive mood.

In #2, it would be nice if it happened in the hypothetical future. “would be” is subjunctive mood as well.
In #3, I would like he decides about it in the hypothetical future.
With “wish”, “decides” becomes “would decide”.