Function: 2 *(mean(numbers("xxr") if numbers('ryy') > numbers('yxy') else numbers("yxx"), numbers("yxx")) if numbers("yxx") > numbers('yxy') if numbers('ryy') > numbers("yxx") else numbers("xxr") else numbers("xxr") if numbers("xxr") if numbers("yxx") > numbers('yxy') else numbers('ryy') > mean(numbers('yxy') if numbers("xxr") > numbers('ryy') else numbers("yxx"), numbers("yxx")) else numbers("yxx"))