g : Z*Z -> Z g(p) = {? 0 when p is (3,_), x + y when p is (x,y) when x > 5 or y > 20, -100 otherwise ?}