=IFERROR(IFERROR(LEFT(IFERROR(IF(LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")>10),LEFT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),SEARCH("+",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-1),SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")),SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")),FIND("x",IFERROR(IF(LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")>10),LEFT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),SEARCH("+",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-1),SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")),SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")))-1),IFERROR(IF(LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")>10),LEFT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),SEARCH("+",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-1),SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")),SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")","")))*SUBSTITUTE(TRIM(MID(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),FIND("x",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))+1,FIND("+",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),1)-FIND("x",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-2)),"'",",")*1+IFERROR(LEFT(RIGHT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-FIND("+",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))),FIND("x",RIGHT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-FIND("+",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))))-1),RIGHT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-FIND("+",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))))*SUBSTITUTE(SUBSTITUTE(RIGHT(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-FIND("*",SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),"x","*",LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""))-LEN(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A2," ",""),"(",""),")",""),"x",""))))),"'",","),"""","")*1,"")