If the equation of the pair of straight lines passing through the point (1,1), one making an angle θ with the positive direction of x-axis and the other making the same angle with the positive direction of y-axis, is x2−(a+2)xy+y2+a(x+y−1)=0,a≠2, then the value of sin 2θ is