Dynamicform Field Alignments

Can anyone tell me how to align the fields in a dynamicform as shown in the attached image?