Consider the following logic circuit diagram.

Which one of the following circuits implements the Boolean function given below?
\[ f(x,y,z) = m_0 + m_1 + m_3 + m_4 + m_5 + m_6, \] where \(m_i\) is the \(i^{\text{th}}\) minterm.

Consider a 3-bit counter, designed using T flip-flops, as shown below. Assuming the initial state of the counter given by $PQR$ as $000$, what are the next three states? 