Aim for the right corner - it will bank and knock both balls in.
There are 2 secret passages, and btw, you need to enter more than that - the lamp moves to show more numbers.
You open the laser gates to get to the second room (on the left), use the screwdriver to open the panel on the machine, then you also need wire cutters (look around), and need to cut the 3rd wire - I think its green. Then you can gain access to the third room (on the right) - remember to move the left portion of the wall so you can climb down the ladder where the secret passage is (in the room with the lamp). Then you go back to the first room, leave the third gate off, then go up and to the room with the lamp, and down the ladder (now unblocked) to get to where you put in the numbers.
You need to go into the room with the lines, turn off the light, and grab the tiles that show up. then turn the lights on and move the floor pieces so that the moving head goes into the rat hole by the door. Go back out the door and you should already have an empty diskette case. Click on it, and then on the rat hole. When the head shows up underneath, click on the case again - you should have the head. Now lift the bridge (there is something called a bridge part on the right portion of the bridge - click on it), and put the tiles from the other room in the slots. Now notice very closely that there are line notches in the spaces dividing the tiles - line up the tiles so that they line up with those lines. Then click your trapped head, and put him over one of the holes in the apparatus, and he should unlock the door for you. Then click the chair on the left to move it, and click another bridge part, this time on the left side of the bridge. You should now be able to move on.
And yes, I did beat the game...
------------------
--------------------------------------
Fear is here, where's the beer?