Hint 1
To find out how to make both the top and bottom cogs turn in the direction indicated by their respective arrows, try following the cogs from one end to the other, checking each one's direction.
You realize that two adjacent cogs always turn in opposite directions, don't you?

