Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
['c2 d2']  
X:1
L:1/8
Q:1/2=80
M:4/4
K:D
 d2 c2 d2 A2 | B2 c2 d4 | g2 f2 b2 a2 | gfed c4 | (df) (eg) (fe) (ge) | f2 g2 a4 | fd ec dB ac | 
 dBA^G A4 | d2 d2 ecBA | ceag f4 | babf gefg | fedc B4 | d2 c2 d2 A2 | Bagf f4 | b2 B2 c2 d2 | 
 egfe c4 | FAde GBeg | Acfa Bdgb | gfga bceg | fedc d4 |]  