Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:4/4
K:Gmin
['d3 B cdcA', '(3BAG GF']  
X:1
L:1/8
M:4/4
K:Gmin
 d3 B cdcA | BABc d2 cf | d3 B cdcA | (3BAG GF G2 (3ABc | d3 B cdcA | BABc d2 cf | 
 (3d=ef (3efg fdcA |1 (3BAG GF G2 Ac :|2 (3BAG GF GF DC |: DG G2 AF F2 | BABc d2 cf | dG G2 AF F2 | 
 (3BAG GF GFDC | DG G2 AF F2 | BABc d2 cf | d2 =eg fdcA |1 (3BAG GF GFDC :|2 (3BAG GF G2 (3ABc |]  