Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
M:9/8
K:G
['G>AB B>AB', 'G>AB gdB']  
X:1
L:1/8
M:9/8
K:G
|: G>AB B>AB B>AB | G>AB B>GB d2 g | G>AB B>AB B>AG | F>GA dAF A2 B :: G>AB gdB gdB | 
 G>AB gdB d2 e | G>AB gdB gdB | fga A2 B cBA |]  