The distance between (x, 2) and (0,6) is 5 units. What is the value of x?