1. Remove the screws and fastner.
2. Remove the front flap.

3. Install in the reverse order of removal.
Cowl grille removal/installation
Rear flap removal/installationMazda 6 Service Manual: Adaptive Front Lighting System (AFS) (Some models)
The adaptive front lighting system (AFS) automatically adjusts the headlight
beams to the left or right in conjunction with the operation of the steering wheel
after the headlights have been turned on and the vehicle speed is about 2 km/h (2
mph) or higher.
A system malfunction or operation c ...
Mazda 6 Service Manual: Dsc on-board diagnosis
On-Board Diagnostic (OBD) Test Description
(See ABS (ABS/TCS) ON-BOARD DIAGNOSIS)
DTC Table
PID/DATA Monitor Table
Active Command Modes Table
...