This question appeared in a mate's child's homework and it's broken my brain.
Andrew Chin's answer definitely works. Define $x\boxdot y$ by $$x \boxdot y = x - y - 2,$$ and it fits the data given.
Andrew Chin's answer definitely works. Define $x\boxdot y$ by $$x \boxdot y = x - y - 2,$$ and it fits the data given.