Dana Incorporated interview question

Design a controls algorithm for a timer based latch