You need to turn the dials to the appropriate symbols. Back out of the puzzle and look at the columns to the right and left of the altar. These are numbers using Mayan symbols. In inventory, right click on your map to examine it. On the top of the map is a green arrow. Click on it to turn the map over. On the back is an explanation of the Mayan numbering system.
The basic premise is that numbers are built in 3 levels. Whatever number is in the first level should be multiplied by 1. The number in the 2nd level should be multiplied by 20. The number in the 3rd level should be multiplied by 400. All 3 totals should be added together to get the final number. What is needed in this puzzle is to examine the columns to the left and right of the altar. Determine the totals for each side and add them together.
Left Column:
Top box: 3 dots -- 3 x 400 = 1200
Middle box: 2 dots -- 2 x 20 = 40
Bottom box: 2 lines & 2 dots -- 12 x 1 = 12
Left Column Total: 1200 + 40 + 12 = 1252
Right Column:
Top box: 1 dot -- 1 x 400 = 400
Middle box: 3 lines & 2 dots – 17x 20 = 340
Bottom box: 2 lines & 2 dots – 12 x 1 = 12
Right Column Total: 400 + 340 + 12 = 752
Grand Total: 1252 + 752 = 2004
Now you need to figure out the symbols to make 2004.
Top box: 1 line – 5 x 400 = 2000
Middle box: Null symbol – 0 x 20 = 0
Bottom box: 4 dots – 4 x 1 = 4
Total: 2004 (See picture below)
The dragon heads will turn the other way so you can take all the items on the altar. Exit the room. Go up the stairs. Speak to Pedro through the hole. Use the rope on the hole. Martin will exit. You now have all 3 keys. You are transported automatically back to White Bear’s hut. He will mark the last location on the map. He gives you an amulet.
Temple of Gods -- Enter the temple. Left click on the door to reveal yet another slider puzzle. Move one of the tiles so that the center space is open. You will see a slot there. Use the amulet White Bear gave you on the slot. Move any of the tiles into the open spot leaving another spot empty. You will see a picture that will match one of the tile pictures. Your task will be to get each tile placed over the picture that matches it. The tiles can move left, right, up and down. Enter the temple.
Inside the temple -- Left click on the machine in the center of the room. There are 3 monoliths surrounding the machine. Each one requires a statue. Use the red statue on the monolith to the left. Use the yellow statue on the monolith in the center. Use the green statue on the monolith to the right. The machine begins working.
Watch the final cut scene.