Derive the next state equations for each type (D, T, SR, and JK) of basic memory element. The next state equation is a symbolic equation describing the next state (Q ) as a function of the inputs (D,T,SR, or JK) and state (Q). In order to determine the next state equations for a a JK memory element, build a 3-variable Kmap with Q, J, and K as the inputs. The entries in the Kmap should be Q . Solving this Kmap will yield the next state equation. Show all work for full credit.