Compose a musical piece that incorporates the given motif and adheres to the specified form.
X:1
L:1/4
M:3/4
K:G
['d e d', 'B A/B/c/d/ e d B d c'  
X:1
L:1/4
M:3/4
K:G
 d e d | c3 | c d c | B3 | d e d | c3 | c d c | B2 B/c/ | d B G | d B G | d e d | c2 z | c A F | 
 c A F | c d c | B2 B |: B A/B/c/d/ | e d B | d c A | c B G | B A/B/c/d/ | e d B | d c A |1 
 B2 B :|2 G2 |]  