how would I figure this out (this assignment is just a practice but I dont have any notes to look off of and I'm confused)

We have the following:
We have the following points that are on the graph:
(-2, 1); (0, -1); (2, 1); (4, 3)
We must evaluate each point in the functions to know which is correct
F
y = x - 1
[tex]y=-2-1=-3[/tex]the first point does not match, therefore this function is not correct
H
y = x^2 - 1
[tex]y=(-2)^2-1=4-1=3[/tex]the first point does not match, therefore this function is not correct
G
y = |x| - 1
[tex]\begin{gathered} y=|-2|-1=2-1=1 \\ y=|0|-1=0-1=-1 \\ y=|2|-1=2-1=1 \\ y=|4|-1=4-1=3 \end{gathered}[/tex]In this function, all the points coincide, therefore the answer to the question is the function G