Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:2/4
K:C
['z z', 'FEFG AGFE D2 AG |1 GFFE EDCD', 'GFFE EDDC'  
X:1
L:1/8
M:2/4
K:C
|: z z AB | c2 Bc | A2 d2 | dcBc |1 A2 AG | GFEF | DEFD | E4 | E2 z z :|2 A2 AG | GFFE | EDDC | 
 D8 |]: z z AG | F2 FE | FEFG | AGFE | D2 AG |1 GFFE | EDCD | E4 | E4 :|2 GFFE | EDDC | D8 |]: D4 | 
 D2 DE | F2 FG | A2 AB | c2 Bc | A2 AG |1 GFFE | EDDC | E4 E4 :|2 GFFE | EDDC | D8 |]  