You will need a 10mm socket head.
1. Disconnect the wire from the negative terminal of the battery.

2. Disconnect the connector A harness from the accelerator pedal, unscrew the two nuts B fasteners and remove the pedal.
3. Install the pedal in the reverse order of removal.