The missing column is the output for the function, so we just need to evaluate the expression in the second column.
For the second row, we have:

We first evaluate the multiplication and then the addition:

For the third row, we have the same steps:

And for the last too:

Thus, the outputs are 18, 22, 26, alternative C.