The displayed signal is a square wave with levels +1V and −1V, each lasting two seconds. On a representative period it is positive for 0<t<2s and negative for 2<t<4s.
The waveform repeats after one positive and one negative interval, so its fundamental period is T=4s. A two-second shift reverses its sign and is not a period.