Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/4
Q:3/4=120
M:6/4
K:Gmin
['B2 d (d B) d', 'g (f d) B'  
X:1
L:1/4
Q:3/4=120
M:6/4
K:Gmin
 B2 d (d B) d | A2 c (c A) c | B2 d (d B) d | f3 b3 | B2 d (d B) d | A2 c (c A) F | 
 (G/A/) B G (A/B/) c A | G3 B3 :: f2 g (f d) B | b2 g (f d) B | e2 g (f d) B | A3 c3 | 
 D2 F (F D) F | B2 d (c A) F | (G/A/) B G (A/B/) c A | G3 B3 :|  