To obtain the graph of the function y = |x+2| we have to make a table of values of x to find the values of y. The absolute value or modulus of a real number is its numerical value without care its sign. For example, the absolute value of |4| and |-4| is 4.
In order to make a graph we are going to use the values (-3, -2, -1, 0, 1, 2, 3) for x.
x = -3
y = |-3 + 2| = |-1| = 1
x = -2
y = |-2 + 2| = |0| = 0
x = -1
y = |-1 + 2| = |1| = 1
x = 0
y = |0 + 2| = |2| = 2
x = 1
y = |1 + 2| = |3| = 3
x = 2
y = |2 + 2| = |4| = 4
x = 3
y = |3 + 2| = |5| = 5
x ║ y
-3 1
-2 0
-1 1
0 2
1 3
2 4
3 5
Obtaining the graph shown in the image attached.
.