what is the value of x in -5-y-1=0 if y=x+1?

-5-y-1=0

-6 = y
-6 = x+1
-7 = x