Zener Diode and diode are turned on during the negative cycle, and the charges is stored in the capacitor. During the positive cycle, the diode is turned off and the capacitor acted as DC voltage source, which shifted the output voltage up.
During Negative cylce
The voltage stored in capacitor is
Vp - (Vp+ Vz) = 10 - (0.7+5.1)=4.2V.
During positive cycle
Voutput = Vinput + 4.2