Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:4/4
K:D
['(3ABc d2 A2 BdBA', 'ddfd dfdd ddfd']  
X:1
L:1/8
M:4/4
K:D
 (3ABc | d2 A2 BdBA | F2 FE F2 (3ABc | d2 A2 BdBA | G2 GF G2 AB | c2 A2 BcBA | c3 c- c2 AB | 
 c2 A2 BcBA | F3 F- F2 (3ABc | d2 A2 BdBA | F2 FE F2 FE | D2 D2 E2 F2 | G3 G- G4 | e e2 e- efed | 
 c c2 c- cdcB | A2 AA B2 c2 | d3 d- d4 |: ddfd dfdd | ddfd dfdd | ddfd gdfd | B3 B- B4 |1 
 a a2 a- abaf | g g2 g- gagf | e2 ^d2 e2 =f2 | f3 f- f4 :|2 ABcd efga | bagf edcB | A2 AA B2 c2 | 
 dBAF D2 ||  