To fill up the right column, we just need to evaluate the values on the left column on the given function. To evaluate a value on a function, we just substitute the desired value for the variable in the function, and calculate. For the first function and the the first set of values, we have
This means that the values on the right column from top to bottom of the first part are
Using the same process for the other table, we have
This means that the values on the right column from top to bottom of the second part are