Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/4
M:4/4
K:G
['d d']  
X:1
L:1/4
M:4/4
K:G
 d d | e d d B | G2 A B | d c c G | E2 A B | c B c A | F2 d d | e d d c | B2 d d | e d d B | 
 G2 A B | d c c G | E2 A B | c B c A | F2 d d | d c E F | G4- | G2 ||  