An input/output table gives pairs of numbers that follow a certain pattern or rule.
To determine the rule for a table, simply look at one pair of input/output numbers to figure out the operation involved.
Once you know the rule for a table, you can finish filling in the rest of it by merely looking at the input and apply the rule.