I'm confused with this function

y= f(-x-4)+6
I have to state what the function is doing, so i know it's a reflection over the y-axis, and you go up six, but with the 4 do i go right or left??
Thanks for any help!

your function notation is meaningless. What is f(z)?

You have to have a function defined before you can state what it does?

I know but it's not a "real" function or anything we have to graph, f(x) can be anything..so say it's f(x)=x^2 then it would be y=(-x^2-4)+6

so is it left 4 or right 4?

To understand what the function y = f(-x-4) + 6 does, let's break it down step by step:

1. Start with the innermost operation: -x-4. This means you take the input (x-value) of the function, multiply it by -1, then subtract 4. For example, if x = 2, -x-4 would be -2 - 4 = -6.

2. Now, you have f(-x-4) which means you take the result from step 1 and input it into the function f. The function f is not given, so we don't know the specific operation it represents. However, we can still analyze the effect of its inputs on the output.

Since the expression inside f is -x-4, it means that any positive x-value you input will be negated and then have 4 subtracted from it. Similarly, any negative x-value will be negated and have 4 subtracted from it. This suggests that the function f likely represents a reflection over the y-axis (flipping the graph horizontally) and a shift to the right by 4 units.

3. Finally, you add 6 to the result of f(-x-4). This means that after the reflection and shift operations, you move the graph up by 6 units in the y-direction.

Regarding your question about the 4 in f(-x-4) - it causes a horizontal shift to the right by 4 units. So, if you have a point (x, y) on the graph of y = f(-x-4) + 6, its corresponding point on the graph of y = f(x) will be (x-4, y).

In summary, the given function y = f(-x-4) + 6 represents a reflection over the y-axis, a horizontal shift to the right by 4 units, and a vertical shift up by 6 units.