8.He opens the gate from the outside as soon as he comes into the garden and waits until the gate shuts.
As soon as he opens the gate from the outside, he comes into the garden and waits until the gate shuts.