How does knowing the period of variability of a Cepheid Variable star allow us to determine its absolute magnitude?