Follow the steps in the article to solve the location :
You can also Watch the video on youtube or solve it through the following pictures:
There are 3 columns (3 patterns) below the gates:
To open a gate, you need to set the boulders according to the pattern showed below the gate.
So here's the correct setup for the left gate:
You can unlock the next gates by using the same principle.
The last and maybe the hardest part of the mine is the puzzle with 5 gates.
Please note that you do not need to push the stones out of the room in order to complete this puzzle.
Here are instructions on positions of the stones and their relation to the gates.