Given the distance between the point A(m,6) and the point B(3-m,2) is 10 units.
Find the possible values of m.