Consider the given complex equation,
2tanx+icosy=1+i
Now, 2tanx=1 …. (1)
cosy=1 ……. (2)
From equation (1),
2tanx=1
tanx=12
x=tan−1(12)
Form equation (2),
cosy=1
cosy=cos0
y=0
Hence, x=tan−1(12) and y=0.