Function: minus(product(sum(minus(numbers("yyy") if numbers("xxx") > numbers("per") else numbers("yxx"), numbers("xxx")), numbers("yyy") if numbers("per") > numbers("yxx") else numbers("xxx")), minus(numbers("yyy") if numbers("xxx") > numbers("yxx") else numbers("per"), numbers("xxx"))), sum(minus(numbers("per") if numbers("yxx") > numbers("yyy") else numbers("xxx"), numbers("xxx")), numbers("xxx") if numbers("yyy") > numbers("per") else numbers("yxx")))