Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
['D DGB d2 d dcB A2 c', 'dcB A2 c']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
 D | DGB d2 d | dcB A2 c | BGd cAe | G3 F2 D |"^5" DGB d2 d | dcB A2 c | dBG cAF | A3 G2 :| d | 
"^9" def gdg | gfe d2 d | ecB Ace | G3 F2 G |"^13" ABc def | B3 g2 g | fed ^cde | d3 def | 
"^17" gdB GBd | dcB A2 c | BGd cAe | G3 F2 D |"^21" DGB dDd | dcB A2 c | dBG cAF | A3 G3 ||  