The first step is to substitute values of x into each equation.
For y = x^2 + 1,
if x = - 2, y = (- 2)^2 + 1 = 4 + 1 = 5
if x = - 1, y = (- 1)^2 + 1 = 1 + 1 = 2
if x = 0, y = (0)^2 + 1 = 0 + 1 = 1
if x = 1, y = (1)^2 + 1 = 1 + 1 = 2
if x = 2, y = (2)^2 + 1 = 4 + 1 = 5
We would plot the corresponding values of x and y on the graph as shown below
For y = 3^(x + 1),
if x = - 2, y = 3^(-2 + 1) = 3^-1 = 0.33
if x = - 1, y = 3^(-1 + 1) = 3^0 = 1
if x = 0, y = 3^(0 + 1) = 3^1 = 3
if x = 1, y = 3^(1 + 1) = 3^2 = 9
if x = 2, y = 3^(2 + 1) = 3^3 = 27
We would plot the corresponding values of x and y on the graph as shown below