Function: minus(numbers('rep'), numbers('xyy')) if numbers('rep') > numbers('xyy') else numbers('ryy') if minus(numbers('rep'), numbers('xyy')) > square(numbers('rep') if minus(numbers('rep'), numbers('xyy')) > numbers('xyy') else numbers('ryy')) else round(square(minus(numbers('rep'), numbers('xyy')) if numbers('ryy') > numbers('xyy') else numbers('rep')), numbers('xyy') if numbers('rep') > minus(numbers('rep'), numbers('xyy')) else numbers('ryy'))