Function: 10 *(minus(numbers("xxr"), numbers('yxy')) if exp(invert(product(minus(numbers("xxr"), numbers('yxy')), numbers("xxr"))), product(minus(numbers("xxr"), numbers('yxy')), numbers("xxr"))) > product(minus(numbers("xxr"), numbers('yxy')), numbers("xxr")) else invert(product(minus(numbers("xxr"), numbers('yxy')), numbers("xxr"))))