You go to where the puzzle piece is, behind the fence and you go forwards until you find the cart on the side and you should see a rock/spike hanging from the side, and you then break the Rock and it will fall on the button, and the cart should break the ink monster spawner/generator. After that the bad guy will bust a hole in the fence, so then you can connect the wires and go up the elevator thing.