Answer:
there are 12 ways
Solution:
Firstly,we choose one gate as entering gate.
So we have Four options.
Then,we choose a different gate as leaving gate.
So we have 4-1=3 options.(two gates are different)
:there are 4 times 3=12 ways to choose the gate