Here the analog flip-flop circuit which built based on 2 transistors work as switch. This is very easy made and…