Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:D
['F3 G A3 F/G/ AdcB A2 F2', 'fAfA f3 A/A/ ABcd c2 B2'  
X:1
L:1/8
M:4/4
K:D
|: F3 G A3 F/G/ | AdcB A2 F2 | E3 F G3 A | Bc/B/ AG FDFG | F3 G A3 F/G/ | AdcB A2 F2 | E3 F G3 A | 
 BABc d3 e :: fAfA f3 A/A/ | ABcd c2 B2 | gBgB g3 B | ABcd ecBA | fAfA f3 A/A/ | ABcd c2 B2 | 
 BcdB Adf>g | feBc d4 :|  