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
['d2 fd c2 ec BABd cAFB (3ABc', 'Ac dcde fefg agaf ecAc d2 fd']  
X:1
L:1/8
M:4/4
K:D
 (3ABc | d2 fd c2 ec | BABd cAFB | (3ABc AF EFAc | BABd cAFA | d2 fd c2 ec | BABd cAFB | 
 (3ABc AF EFAc | BABc A2 Ac || dcde fefg | agaf ecAc | d2 fd c2 ec | BABd cAFA | agfe fedc | 
 BABd cAFB | (3ABc AF EFAc | BABc A2 A2 ||  