1. Pull the liftgate upper trim toward you, then disengage clips A, and pin B from the body.

2. Remove the liftgate upper trim.
3. Install in the reverse order of removal.
Trunk end trim removal/installation
Liftgate side trim removal/installationMazda 6 Service Manual: Power window main switch inspection
Drivers side
1. Remove the driver-side front door trim.
2. Connect the power window main switch connector.
3. Measure the voltage at the power window main switch terminals as indicated
below.
4. Disconnect the power window main switch connector before inspecting for
continuity at terminals 1 ...
Mazda 6 Service Manual: Thermostat
THERMOSTAT REMOVAL/INSTALLATION
1. Remove the plug hole plate.
2. Disconnect the negative battery cable.
3. Drain the engine coolant. (See COOLING SYSTEM SERVICE WARNINGS.)
4. Remove the drive belt. (See DRIVE BELT REPLACEMENT.)
5. Remove the washer tank.
6. Remove the P/S oil pump.
Note
...