1. Remove the screws.
2. Remove the rear flap.

3. Install in the reverse order of removal.
Front flap removal/installation
Rear door garnish removalMazda 6 Service Manual: Front fog light bulb removal/installation
1. Disconnect the negative battery cable.
2. Remove in the order indicated in the table.
Caution
A halogen bulb generates extremely high heat when it is used. If
the surface of the bulb is soiled, excessive heat will build up and the
lights life will be shortened. When replacing the ...
Mazda 6 Service Manual: Rocking the Vehicle
WARNING
Do not spin the wheels at more than 56 km/h (35 mph), and do not allow
anyone to stand behind a wheel when pushing the vehicle: When the vehicle
is stuck, spinning the wheels at high speed is dangerous. The spinning tire could
overheat and explode. This could cause serious injuries.
...