1. Remove the liftgate upper trim.
2. Remove the liftgate side trim.
3. Pull the handle toward you, then remove the handle.

4. Pull the liftgate lower trim toward you, then disengage clips A, B and pins C, D from the body.
5. Remove the liftgate lower trim.
6. Install in the reverse order of removal.
Liftgate side trim removal/installation
HeadlinerMazda 6 Service Manual: Exterior lighting system
...
Mazda 6 Service Manual: C-pillar trim removal/installation
4SD
1. Remove the tire house trim.
2. Turn the seaming welt over.
3. Remove the cap using a fastener remover, and remove the bolt (with curtain
air bag system).
4. Disengage clips A and clip B using a fastener remover.
5. Pull the C-pillar trim forward, then disengage hook C from the body, ...