Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
M:4/4
K:D
['f4 d4 g4 B4 e3 d c2', 'F3 A'  
X:1
L:1/8
M:4/4
K:D
 f4 d4 | g4 B4 | e3 d c2 A2 | ABAG F2 D2 | f4 d4 | g4 B4 | e3 d c2 A2 | ABcA d4 :| A4 F3 A | 
 d4 F3 A | G2 F2 E3 F | G2 F2 E4 | e3 d c2 A2 | ABAG F2 D2 | d2 d2 efge | fdec d4 :|  