Determine the rule for the input-output table

Determine The Rule For The Inputoutput Table class=