Compose a piece using the alphabetic notation of the assigned musical structure and the provided melodic motif.
X:1
L:1/8
M:12/8
K:G
['g2 d ded B2 G GAG ABA', 'd3 d^cd b3 bag a3 e2 f']  
X:1
L:1/8
M:12/8
K:G
 g2 d ded B2 G GAG | ABA DEF G2 B def | g2 d ded B2 G GAG | ABA DEF GAG G3 :| d3 d^cd b3 bag | 
 a3 e2 f g3 edB | d3 d^cd b3 bag | a3 e2 f gag g2 B :|  