The sides IF and HG are parallel, so we have a trapezoid IHGF.
Since the sides IH and FG have the same length, we have an isosceles trapezoid.
That means the angles ∠I and ∠F are congruent, so the angle ∠F is equal 35°.
Since the figure is a trapezoid, the angles ∠F and ∠G are supplementary (because they are consecutive interior angles), so we have:
So the angle ∠G is equal to 145°.