Given a simple unweighted graph $G$ (an undirected graph without self-loops or multiple edges) with $n$ nodes and $m$ edges. Let $T$ be a spanning tree of $G$. We say that a cut in G two-respects $T$ if and only if it cuts just two edges of $T$.
Since love needs good faith and hypocrisy return for only grief, you should find the minimum cut of graph $G$ two-respecting given spanning tree $T$. To simplify the problem, we guarantee that for each edge $(u,v)\not\in T$ in graph $G$, the unique path in $T$ between $u$ and $v$ must pass through the node $1$.