Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:G
['E D2']  
X:1
L:1/8
M:6/8
K:G
 D | G2 F E2 D | C3- C2 D | F2 E D2 C | B,3- B,2 D | B2 B A2 B | c3- c2 E | D2 A A2 B | G3- G2 |]  