Put the verb in brackets into the right form.
The bus was pulling away from the bus stop when I came. I wish I a couple of minutes earlier.
We say "I wish" plus a condition when we regret something. We can speak about either the present / the future, or the past.