Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:2/4
K:G
['Ac Ac']  
X:1
L:1/8
M:2/4
K:G
 D/G/ | BB BG/B/ | dd dB/d/ | gg a/g/f/g/ | ba a>d | b>g ad | (gd) (Bd) | c>B Ac | Ac Ac | d>c Bd | 
 Bd Bd | e>g f/>g/a/>f/ | g/>a/b/>a/ g/>f/e/>d/ | e/>f/g/>e/ f/>g/a/>f/ | gbg |]  