Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
['dAFA GBAG FAFA GBAG', 'd4 ecAc ecge fdBd fdaf ecAc ecgf'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:D
 dAFA GBAG | FAFA GBAG | FDFD GEGE | AFED DCB,A, | dAFA GBAG | FAFA GBAG | FAdg fedc | d2 d2 d4 :: 
 ecAc ecge | fdBd fdaf |"^?" ecAc ecgf | edcB A2 A2 | BGDG BGdB | AFDF AFdA | FAdg fedc | 
 d2 d2 d4 :|  