Function: 10 *(minus(divide(numbers("xxy") if numbers('xry') > numbers('ryy') else numbers('rep'), numbers('ryy')) if numbers("xxy") > numbers('ryy') else numbers('rep') if numbers('xry') > numbers('ryy') else numbers("xxy"), divide(numbers('xry') if numbers("xxy") > numbers('ryy') else numbers('rep'), numbers('ryy'))))