Create a composition based on the provided motif, following the specified musical form.
X:1
L:1/8
M:4/4
K:D
["d4 f4 adfa d'2", 'a4 aa/a/', 'A2 A>A ABcd'  
X:1
L:1/8
M:4/4
K:D
 AB/c/ | d4 f4 | adfa d'2 d>d | b3 a gfeg | fedc dABc | d4 f4 | adfa d'2 a>a | bagb aAce | 
 dd/d/ f>f d2 || d>f | a4 aa/a/ a>a | agef d2 A>A | e2 A>A f2 d>d | a>gec def^g | a4 aa/a/ | 
 agef d>d e>e | f>f g>g a>a ^g>g | a2 a>a a4 || A2 A>A ABcd | efge dcBA | a3 g fafd | 
 e2 B>B B2 z2 | A2 A>A ABcd | efga b2 g>g | f>f e>e d>dc>c | B2 B>B B2 ||  