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
['B2 A', 'e f2 f AB^c'  
X:1
L:1/8
M:6/8
K:G
 c | B2 A G2 D | F2 E c2 c | B2 A DEF | A2 G D3 | B2 A G2 D | F2 E c2 c | B2 A DEF | G3 G2 :| | 
 z FA e | f2 f AB^c | e2 d d^cB | | z e | f2 f AB^c |1 d3 d^cB :|2 d3 d2 ||  