Sine 0 or -π are both zero, but increasing x would normally have the line moving above the neutral line. Subtracting π from the x value inverts the sine wave so the line moves first below the neutral line as x increases.
Subtracting 2 from all sine results shifts the neutral line down 2 units.