Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
M:2/4
K:D
['A>B AG d>e f2 fA', 'a>g fd Ad', 'f2 fA', 'a2 a>g fd a>g fA']  
X:1
L:1/8
M:2/4
K:D
 f | A>B AG | d>e f2 | fA df | a/>f/e/>d/ ef | A>B AG | d>e f2 | fA f/<a/e/>f/ | d2 d :| f/>g/ | 
 a>g fd | Ad f2 | fA df | a/>f/e/>d/ ef/>g/ | a>g fd | Ad fA f/<a/e/>f/ | d2 df/>g/ | a>g fd | 
 Ad f2 | fA df | a/>f/e/>d/ ef |] A>B AG | de f2 | fA f/<a/e/>f/ | d2 d | f | A>B dA | BA f2 | 
 fA df | a/>f/e/>d/ ef :| A>B dA | BA f2 | fA f/>a/e/>f/ | d2 d | f/>g/ | a2 a>g | fd a>g | fA df | 
 a/>f/e/>d/ ef | a2 a>g | fd a>g | fA f/>a/e/>f/ | d2 df/>g/ | a2 a>g | fd a>g | fA df | 
 a/>f/e/>d/ ef | A>B dA | BA f2 | fA f/>a/e/>f/ | d2 d |]  