How to figure out the "rule" with inputs and outputs in acc. math?

Report as