Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
M:12/8
K:D
['f2 b afd e3', 'f2 b afd e3']  
X:1
L:1/8
M:12/8
K:D
 ABA AFA d2 A d2 A | def g2 e fed B2 A | d2 B AFA d2 c d2 e |1 f2 b afd e3 d2 B :|2 
 f2 b afd e3 def || gfg b2 g fef a2 f | e2 f a2 f efd B2 A | d2 B AFA d2 c d2 e |1 
 f2 b afd e3 def :|2 f2 b afd e3 d3 ||  