Solve[(Pi + ArcTan[y/(1 + x)])/(Pi + ArcTan[y/(1 - x)]) == 2, y]