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
['DA,FD AFdA Bged cbag fedc', 'd2 (fg) a^gaf def=g afdd d2 (ef)']  
X:1
L:1/8
M:4/4
K:D
 (FE) | DA,FD AFdA | Bged cbag | fedc Bged | (3cdc (3BcB AGFE | DA,FD AFdA | Bged cbag | 
 fedc Bgec | dcdc d2 :: (fg) | a^gaf def=g | afdd d2 (ef) | gfge cdef | (3gag (3fgf egfe | 
 dfec dDFA | Bged cbag | fedc Bgec | dcdc d2 :|  