Use the arrow keys to accelerate your piece. Note that you do not directly control the speed, you only control the acceleration. Use the left and right arrow keys to control. The green portals are teleporters which move your piece to one of the red portals. Not the rotation of the arrows, as the ball will rotate accordingly.