The question is about scaling the period of a periodic function. This question has been asked and answered. What bothers me is something else:
For $k \ne 0$
$f(x + p) = f(x) \Rightarrow f(kx + p) = f(kx)$ (1)
$f(kx) = f(k (x + p / k))$ (2)
$f(x) = f(kx / k) = f(x + p / k)$ (3)
I must have misunderstood something, because (3) is definitely not valid for every $k\ne0$. Counter example for (3): $cos(0) \ne cos(0 + 2\pi/100)$.