You can write formulas in LaTeX or in plain text, and write your solution in any language.
Let G be a finite connected undirected graph with n vertices and m edges. Prove that the number of subsets S of the edges of G such that every vertex of G has even degree in the subgraph (V(G),S) is exactly 2m−n+1.