Build a musical piece by incorporating the given motif into the prescribed form.
X:1
L:1/8
M:3/4
K:G
['d3 c (BA) G3 A', 'B2 e2 ^d2'  
X:1
L:1/8
M:3/4
K:G
|: d3 c (BA) | G3 A G2 | A3 G A2 | B2 e4 | d3 c (BA) | G3 A B2 | B3 A B2 | E6 :: B2 e2 ^d2 | 
 (e3 f) g2 | d3 e (dB) | (B3 c) d2 | B2 e2 ^d2 | e3 f g2 | B3 A B2 | E6 :|  