Compose a piece using the alphabetic notation of the assigned musical structure and the provided melodic motif.
X:1
L:1/8
M:2/4
K:D
['D2 D2', 'A2 B2 Bc dc B2 |1 ABcd']  
X:1
L:1/8
M:2/4
K:D
|: f2 f2 d2 d2 | ABAF D2 D2 | E2 EF GF E2 |1 DEFG A2 A2 :|2 D2 F D2 D2 |: efec efec | efec A2 A2 | 
 B2 Bc dc B2 |1 ABcd e2 e2 :|2 A2 c2 A2 A2 ||  