Function: 2 *(product(numbers('ryy') if numbers("xyx") > numbers("per") if numbers("xyx") > numbers('ryy') else numbers("per") else square(numbers('ryy') if numbers("per") > numbers("xyx") else numbers("per")), square(numbers("per") if numbers("xyx") > numbers('ryy') else numbers("per"))))