Please, I still need help with this.

I need to make tables of values for both horizontal and vertical stretching, but I wasn't in class and missed the lesson. I don't really understand how to get the values; at first I figured you'd get the value of y by just pluging in whatever value of x you're given to y=f(x), but this doesn't seem to work. My book shows completely different answers, but doesn't explain how to get them.

I'm given a table of values for y=f(x) with (-4,0), (-2,4), (0,-4), (2,4), (4,0). Then, I am to find the y values for y=2f(x) and for y=1/2f(x) and for y=f(2x) and y=F(1/2x).

I'm guessing that if there's an actual number inside the parenthesis, it's a horizontal stretch, but I still can't figure out how to actually do it.

Please help me.

you are given y=f(x) and data points for x,y.

for y=2(f(x)) notice I double the original y
(-4,0),(-2,8),(0,-8),(2,8) you do the last.
Now for y=1/2 (f(x) I will start you off.
(-4,0),(-2,2), (0,-2), you finish.
For y=(f(2x)) there are limited data points you can do. For instance, the first point given was -4, you do not know what f(-8) is so skip it.
(-2,0) remember for -2, y is f(-4).
next one (0,-4), (2,0) and that is all you can do.