Quarry
As the Quarry has only 4 sides free to attach engines to, one way to power a Quarry is to place 4 Steam Engines on all 4 sides. If you want to run the quarry at full speed with Steam Engines, you will have to power the Quarry via Conductive Pipes.