Both are DCFL.
L1:
Push $x$ on stack for $a$ and $d$, if the stack is empty or has $x$ on top. If however, the stack has $y$ on top, remove the $y$.
Push $y$ on stack for $b$ and $c$, if the stack is empty or has $y$ on top. If however, the stack has $x$ on top, remove the $x$.
The DFA accepts if the stack is empty at the end of the input.
L2:
Push $x$ on stack for $a$ and $c$, if the stack is empty or has $x$ on top. If however, the stack has $y$ on top, remove the $y$.
Push $y$ on stack for $b$ and $d$, if the stack is empty or has $y$ on top. If however, the stack has $x$ on top, remove the $x$.
The DFA accepts if the stack is empty at the end of the input.