Perceptive Pixel interview question

How to implement a gated clock?