Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
Q:1/2=76
M:2/4
K:D
['A d2 c>B A2 A2 B2 c2', 'FA AA BA AA'  
X:1
L:1/8
Q:1/2=76
M:2/4
K:D
 A | d2 c>B | A2 A2 | B2 c2 | d2 AA | BA GF | E2 A2 | F2 D2 | D2 z :: A | FA AA | BA AA | FA AA | 
 BA AA | d2 e2 | fd dd | e2 c2 | d2 z :|  