We´ve got the ingredients, now let´s make the dough!
Follow the cook so we can put the ingredients into the machine.
If you want to get to the two tiles on the left, look here.
Put the ingredients in their places and then rotate the pipes so we can avoid the cracks.

Get down to the bakery ovens and crank the wheel in order to proceed.

Push this button, to lift the pipe.

In the next room, follow the same instructions and push the buttons to get the pipes in the same line.
Here move the stones to their places and crank the wheel to open the gate.

There are some more pipes that need to be aligned, to fix pipe number one, you need to go here.

Push this button and then get back and crank the wheel.
In the next room, make room to push the first button then second button and third button.
Bonus: How to solve the mathematic riddle and get to the bonus XP and energy can be found here
To move forward, make sure to rotate the pipes correctly and then push the buttons, so that the pipes are attached to each other.

Now we need to pour the dough in the forms. First, crank the main wheel here.

And then crank the four other wheels to fill in the forms.

Then you need to push the buttons and take the gingerbread trains

That´s it! Now take the trains to cook and speak with Mr. Thanks that's waiting in your camp.