1. Remove the high-mount brake light.
2. Fold the rear seat back.
3. Remove the fasteners.
4. Pull the rear package trim upward, then disengage the clips from the body.
5. Disengage the hooks, then remove the rear package trim.
6. Install in the reverse order of removal.
Mazda 6 Service Manual: Generator removal/installation
Warning
When the battery cables are connected, touching the vehicle body with
generator terminal B will generate sparks. This can cause personal injury, fire,
and damage to the electrical components. Always disconnect the battery negative
cables before performing the following operation.
...
Mazda 6 Service Manual: General procedures
PRECAUTION (SUSPENSION)
Wheels and Tires Removal/Installation
When a wheel is installed, tighten it to 88-118 N·m {9.0-12.0 kgf·m,
65.0-87.0 ft·lbf}.
Suspension Links Removal/Installation
Tighten any part of the suspension that uses rubber bushings only after the
vehicle has been lowered ...