1. Disconnect the negative battery cable.
2. Remove the washer tank. (See WASHER TANK REMOVAL/INSTALLATION)
3. Connect battery positive voltage to the terminal B and ground to the terminal A of the motor.
4. Verify that the rear washer motor operates.

Rear washer motor removal/installation
Rear wiper motor removal/installationMazda 6 Service Manual: Dtc clearing procedure
1. Start the on-board diagnostic test mode.
2. First press the POWER button, then simultaneously press AUDIO CONT button
for 2 seconds or more.
Caution
Before clearing the DTCs, be sure to enter all of them displayed
in the on-board diagnostic test mode in the Audio Repair Order Form. ...
Mazda 6 Service Manual: Drive shaft (mtx) disassembly/assembly
1. Disassemble in the order indicated in the table.
2. Assemble in the reverse order of disassembly.
Clip Disassembly Note
1. Mark the drive shaft and outer ring for proper assembly.
Caution
Mark with paint; do not use a punch.
2. Remove the clip.
Balls, Inner Ring, Cage Disassembl ...