Disconnect the 3P connector (A) from the headlight.
Remove the rubber cover (B).
Pull the retaining spring (C) away from the bulb (D), then remove the bulb.
Install a new bulb in the reverse order of removal. Make sure the tabs on the notches in the bulb align with the tabs in the headlight