Function: minus(minus(numbers('yxr') if numbers("yyy") > numbers("xxx") else product(numbers('yxr'), numbers("xxx")), product(numbers('yxr'), numbers("xxx"))) if product(numbers('yxr'), numbers("xxx")) > numbers('yxr') else numbers('yxr') if numbers("yyy") > numbers("xxx") else product(numbers('yxr'), numbers("xxx")), minus(numbers("xxx") if numbers("yyy") > numbers('yxr') else product(numbers('yxr'), numbers("xxx")), product(numbers('yxr'), numbers("xxx"))))