Working by transmitting the laser beam within the workpiece