Function: 2 *(gradient[1](invert(numbers("xxx") if numbers('yyx') > numbers('rrr') else numbers("xxr")) if numbers("xxx") if numbers('yyx') > numbers('rrr') else numbers("xxr") > min(invert(numbers("xxr") if numbers('yyx') > numbers('rrr') else numbers("xxx")), numbers('yyx') if numbers('rrr') > numbers("xxr") else numbers("xxx")) else numbers("xxr")))