=LET(a,TOROW(TEXTSPLIT(A9,"X","x"),3),b,TEXT(a/25.4,"0.000"),HSTACK(a,b,TEXTJOIN("X",,b)))
=TRIM(MID(TEXTJOIN(REPT(" ",99),,TRIM(MID(SUBSTITUTE(SUBSTITUTE($A9,"x","X"),"X",REPT(" ",99)),{1,2,3}*99-98,99)),TEXT(MID(SUBSTITUTE(SUBSTITUTE($A9,"x","X"),"X",REPT(" ",99)),{1,2,3}*99-98,99)/25.4,"0.000"),TEXTJOIN("X",,TEXT(MID(SUBSTITUTE(SUBSTITUTE($A9,"x","X"),"X",REPT(" ",99)),{1,2,3}*99-98,99)/25.4,"0.000"))),COLUMN(A9)*99-98,99))