I simply used Ohm's Law to calculate currents and voltages.
1) The output swing of a TL072 opamp that has a 12V supply is about +1.5V to +10.5V.
2) The U1a comparator part of the triangle generator switches when the ramping input from the U1b integrator passes +6V.
3) When the output of U1a is at +1.5V and its (+) input reaches +6V then R3 has a voltage of 6V - 1.5V= 4.5V across it then its current is 4.5V/10k= 0.45mA.
4) R2 also has a current of 0.45mA then it has a voltage across it of 0.45mA x 4.7k= 2.115V.
5) Then the voltage at the output of U1b is 6V - 2.115V= +3.885V.
Do the same calculations when the output of the triangle wave goes high.
The value of R2 or R3 can be changed to change the output level.
I showed that adding a simple coupling capacitor to the input of the inverter allows it to be biased correctly since its (+) input is at +6V.
As Alec shows for your non-inverted signal from the grid, connect the common of the transformer to +6V.