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: A/c compressor removal/installation
1. Disconnect the negative battery cable.
2. Discharge the refrigerant from the system. (See RECOVERY.) (See CHARGING.)
3. Remove the right side splash shield and mudguard (L.H.D. only).
4. Loosen the drive belt and remove it.
Caution
If moisture or foreign material enters the refrigeration ...
Mazda 6 Service Manual: Front drain hose installation
Caution
If the front drain hose is pinched or bent anywhere, the water in the hose
may not discharge and enter the inside of the vehicle. During and after
installation of the trims and the headliner, always make sure there is no
interference with the front drain hose. Fix any problem if found ...