Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
Q:1/4=120
M:2/2
K:D
['D2 d2 d2 cd ecAc d2 de', '(3agf (3agf (3gab (3gab'  
X:1
L:1/8
Q:1/4=120
M:2/2
K:D
"_three sharps in MS" AF | D2 d2 d2 cd | ecAc d2 de | f2 fd g2 ge | afdf ecAF | D2 d2 d2 cd | 
 ecAc d2 de | fdec dBAG | A2 A2 A2 :: fg | afdf AcBA | B2 G2 G2 fa | bgeg"^NB1" BcdB | 
 c2 A2 A2 fg | (3agf (3agf (3gab (3gab | (3agf (3agf (3gab (3gab | afge fdec | d2 dd d2 :|  