The plastic covers over the edge of the carpet have a plastic strip that you prise out to reveal screws which you then unscrew and then you can lift the plastic edge cover away from the sill and the carpet edge. Putting it back is the reverse procedure.
C