Check the picture below.
the amplitude is simply the distance from the midline to the peek or bottom, now, to get the period in this case, we can just take a look at the point atop at x = -0.25 and the point down below at x = 0.75, their distance is simply 1 unit, and that's only half of the period, so the other half must also be 1.