I had the same doubts last year when I was completing my high school math and I pretty much ended up memorizing the results but well... haha.
So here's how it works, when $y = f(2x)$ all values of $x$ are doubled.
What this means is say for example if you were to plot a graph of the function $f(x) = x^2$ and you were to plot $y = f(x)$ on the graph then when $x = 6$ $y = f(6)$ from $f(x) = x^2$ $y = 36$ this I am sure you can figure out.
But when you plot the graph of $y = f(2x)$ when $x = 6$ $y = 144$ not 36 so if you think carefully about it you realize that instead of $x^2$ $(2x)^2$ took place, instead of $6^2$ $12^2$ took place at the point $x=6$.
So where did the 36 go????
How about we try with $x = 3$ $y = f(2x)$ so $y = f(2*3)$ so $y = f(6)$ and this is the same as our first scenario, so because half the value of $x$ is required to plot the same $y$ point when $y = f(2x)$ the entire curve squeezes horizontally to half it's size.
If you attempt to take simple examples like the ones above to explain $y = f((1/2)x)$ I am sure you will realize why the curve stretches horizontally to twice it's size.
Hope that's the answer of your question.