Cadence Design Systems interview question

Implement a logic circuit that delay by 1 clock. Implement a logic circuit that detect a rising edge.