Function: square(divide(numbers("xxx"), numbers('xry')) if mean(divide(numbers("xxx"), numbers('xry')), numbers("xxx")) > round(mean(divide(numbers("xxx"), numbers('xry')), numbers("xxx")), divide(numbers("xxx"), numbers('xry'))) else numbers("xxx"))