Answer:
See explanation
Step-by-step explanation:
Whatever x-values are given, substitute them into the function and solve for y.
If y-value is given substitute it into the function and solve for x.
If the table is like the one below;
[tex]\begin{center}\begin{tabular}{ c| c} x & y\\-1 & -4\\ 0 & -\\-&0\\ 2 & 2\end{tabular}\end{center}[/tex]
Then the corresponding y-value for x=0 is
[tex]y=2(0)-2[/tex]
[tex]\implies y=0-2=-2[/tex]
The corresponding x-value for y=0 is [tex]2x-2=0[/tex]
[tex]\implies 2x=2[/tex]
[tex]\implies x=1[/tex]
The complete table now looks like this
[tex]\begin{center}\begin{tabular}{ c|c} x & y\\-1 & -4\\ 0 & -2\\1&0\\ 2 & 2\end{tabular}\end{center}[/tex]