Function: invert(round(product(gradient[2](numbers('rep') if numbers("yyy") > numbers("per") else numbers("xxr")), numbers("yyy") if numbers("per") > numbers("xxr") else numbers('rep')), gradient[2](numbers("yyy") if numbers("xxr") > numbers('rep') else numbers("per"))))