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: Distance Recognition Support System (DRSS) (Some models)
The Distance Recognition Support System (DRSS) measures the distance between
your vehicle and a vehicle ahead using a radar sensor (front) while the vehicle
speed is about 30 km/h (19 mph) or faster, and if your vehicle approaches a vehicle
ahead more closely than what is appropriate for maint ...
Mazda 6 Service Manual: Lane Departure Warning
If the system determines that the vehicle may deviate from its lane, the lane
departure warning (beep sound, rumble sound*1, or steering wheel vibration) is activated
and the direction in which the system determines that the vehicle may deviate is
indicated in the multi-information display and ...