Exactly, I was tying figure out this part TEXTJOIN(" ",,TRIM(REPT(J18:J19&" ",2))) how to add space in REPT I was exploring MID for that.
I was trying to make use MAP LAMDA EXPAND FILTER to repeat column A values
You hard coded 2 in REPT need to make it dynamic for below example it will return #N/A
77676 GTR NNT MMU
Updated formula that works on more than 2 values in column B
=HSTACK(TEXTSPLIT(TEXTJOIN(" ",,TRIM(REPT(J18:J20&" ",MAP(K18:K20,LAMBDA(x,COUNTA(TEXTSPLIT(x," "))))))),," "),TEXTSPLIT(TEXTJOIN(" ",,K18:K20),," "))

Update the range in LET
=LET(num,J18:J20,txt,K18:K20,HSTACK(TEXTSPLIT(TEXTJOIN(" ",,TRIM(REPT(num&" ",MAP(txt,LAMBDA(x,COUNTA(TEXTSPLIT(x," "))))))),," "),TEXTSPLIT(TEXTJOIN(" ",,txt),," ")))
