This is how it works

System B

System B:
The heated tap water goes to the thermostatic mixer of the shower