Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
M:4/4
K:D
['a2 ab afef', 'd2 de dcde fdfa gfed cB A2']  
X:1
L:1/8
M:4/4
K:D
|: fg | a2 ab afef | gede cAfg | a2 ab afef | gfec d2 :: de | dcde fdfa | gfed cB A2 | dcde fefa | 
 gfec d2 :|  