Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
M:4/4
K:D
['A2 A2', 'B2 A2'  
X:1
L:1/8
M:4/4
K:D
|: A,2 | A,2 DE FEDE | F2 A2 A2 A2 | BABc dBAF | F2 E2 E2 FE | D2 DE FEDE | F2 A2 A2 B2 | 
 BABc dBAA | F2 D2 D2 :: (3ABc | d2 (3efg fedd | c2 dd B2 A2 | BABc dedd | B2 A2 A2 (3ABc | 
 d (3efg fedd | c2 dd B2 A2 | BABc dBAG | F2 D2 D2 :|  