Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
Q:1/4=104
M:2/4
K:D
['A d>d AA (F B2) A', 'D3 A (d>c)de (d f2) e dcBB'  
X:1
L:1/8
Q:1/4=104
M:2/4
K:D
"^Moderato" A | d>d AA | (F B2) A | (GF)(EF) | D3 :| A | (d>c)de | (d f2) e | dcBB | A3!D.C.! ||  