Metal-insulator transition in a 2D electron gas: Equivalence of two approaches for determining the critical point