Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/2=90
M:2/2
K:D
['FA d2 d2 cB cd e2 e2']  
X:1
L:1/8
Q:1/2=90
M:2/2
K:D
 AG | FA d2 d2 cB | cd e2 e2 dc | defd gfed | ec A2 ABAG | FA d2 d2 cB | cd e2 e2 ag | fdec dABG | 
 F2 D2 D2 ::  