How can i add two text boxes into a multifield as shown in the image(two text boxes in a row)?
This image is form Style System
Style System has the different DOM structure as compared to dialog structures.
But You can apply small CSS to achieve same.
for example below CSS change convert the layout from block to internal-block and shows everything in one line.
You need to check your dialog structure and need to apply css.