Function: sum(sqrt(max(sum(numbers("xxr"), numbers('yxr')), numbers("xxr")) if sum(numbers("xxr"), numbers('yxr')) > numbers("xxr") else numbers('yxr')), numbers("xxr") if numbers('yxr') > sum(numbers("xxr"), numbers('yxr')) else max(sum(numbers("xxr"), numbers('yxr')), numbers("xxr")))