A function is obtained from y=logax by reflecting the graph in the x-axis, shifting it 2 units to the right, and then 1 unit upward. The transformed graph passes through the point (6,0). Which of the following is the value of a?
a) 8
b) 4
c) 41
d) 2