Task 4 (2 pt) Theorem: Let G be a graph with the following properties:
1. G is cycle-free.
2. G has n vertices, denoted as V.
3. G has (n-1) edges.
Use mathematical induction by the number of vertices, n, to prove that G is connected.
(Hint: The Handshaking theorem: Σdeg(V) can be useful for the inductive step of the proof. Here, Σ is the sum of the degrees of all vertices in G.)