tanx=1/1,tany=1/3 then cos2x=sin2y

x = pi/4, so cos2x = 0

since y ≠ pi/2, sin2y ≠ 0

I suspect a typo somewhere