<image>As shown in the figure, there are two points A and B on the number line (point A is to the right of point B). Point A represents a, and point B represents -2a+3. The distance between points A and B is 6. What is the value of a?