点A(a,a+1)在函数y=-2x-6的图象上,则a=______.