Rear washer hose removal/installation
1. Disconnect the negative battery cable.
2. Remove the washer tank. (See WASHER TANK REMOVAL/INSTALLATION)
3. Partially peel off the right side mud guard.
4. Remove rear washer hose No.1 from the clips.

5. Remove rear washer hose No.1 and joint pipe A.
6. Remove the A-pillar trim. (See A-PILLAR TRIM REMOVAL)
7. Remove rear washer hose No.2 from clip A.

8. Remove clips B from the body.
9. Remove rear washer hose No.2 and joint pipes B.
10. Remove the C-pillar trim. (See C-PILLAR TRIM REMOVAL/INSTALLATION)
11. Remove the liftgate upper trim. (See LIFTGATE UPPER TRIM REMOVAL/INSTALLATION)
12. Remove rear washer hose No.3 from clip C.

13. Remove clips D from the body.
14. Remove rear washer hose No.3 and joint pipe C.
15. Remove the headliner. (See HEADLINER REMOVAL/INSTALLATION)
16. Remove the tape from rear washer hose No.4.

17. Install in the reverse order of removal.
Test yourself
A quick Mazda 6 quiz: every answer comes with an explanation and a link to the manual page.