The edge of one cube is 2 cm shorter than the edge of a second cube. The volumes of the two cubes differ by 386 cm^3. Find the edge of the smaller cube using factoring.