Create a composition based on the provided motif, following the specified musical form.
X:1
L:1/8
M:3/4
K:Gmin
['d2 dg dc B2 G2 G2 d3', 'e2 d2 c2 d2'  
X:1
L:1/8
M:3/4
K:Gmin
 d2 dg dc | B2 G2 G2 | d3 g dB | c3 e dc | BA Bc dB | cG c2 c2 | B3 c _AB | GG, B,D GB :: b4 ag | 
 aD ^FA d^f | g2 =f2 e2 | d6 |1 e2 d2 c2 | d2 g2 a2 | b3 a bc' | a6 :|2 e2 d2 c2 | d2 G2 c2 | 
 B3 c _AB | G6 |]  