![enter image description here](https://cdn.statically.io/img/i.sstatic.net/Mvy7E.png)
Defining $\alpha$ and $\beta$ as the exterior angles at $A$ and $B$, and $\theta$ as the complement of the half-angle at $D$, and $a_2:=a/2$ for convenience, "all we have to do" is solve the system
$$\begin{align}
d \cos\theta &= a_2 + e \cos\alpha \tag1\\
c \cos\theta &= a_2 + b \cos\beta \tag2\\
d \sin\theta + e \sin\alpha &= c \sin\theta + b \sin\beta \tag3
\end{align}$$
The special case of $c=d$ clearly implies $b=e$ and $\alpha=\beta$, making the pentagon symmetric about the angle/perpendicular bisector, although its shape is not uniquely determined.
Otherwise ... A couple of rounds of squaring of $(3)$ will give us even powers of $\sin\alpha$ and $\sin\beta$, which we can replace with powers of $1-\cos^2\alpha$ and $1-\cos^2\beta$; substituting $\cos\alpha$ and $\cos\beta$ from $(1)$ and $(2)$, and simplifying, gives this quadratic in $\cos\theta$:
$$\begin{align}
0 &=\phantom{-}\;4\cos^2\theta\;(c - d) (d (b^2 - c^2) - c (e^2 - d^2)) \\
&\quad-4 \cos\theta\;a_2 (c - d) ((b^2 - c^2) - (e^2 - d^2))\\
&\quad-4 a_2^2 (c - d)^2 - (b + c - d - e) (b - c + d - e) (b + c - d + e) (b - c + d + e)
\end{align}$$
Solving gives
$$\begin{align}
\cos\theta &= \frac{a_2 (c - d) (b^2 - c^2 + d^2 - e^2)\pm \sigma}{2p (c - d)} \\[8pt]
\sigma &:= \sqrt{ q(c - d) \left(a_2^2(c-d) + p\right)} \\[2pt]
p &:= d(b^2-c^2)-c(e^2-d^2) \\[4pt]
q &:= (b + c - d - e)(b + c - d + e)(b - c + d + e) (b - c + d - e)
\end{align}$$
And then, from $(1)$ and $(2)$,
$$\begin{align}
\cos\alpha &= \frac{a_2(c-d)((c-d)(e^2-d^2)-p)\pm d\sigma}{2ep(c-d)} \\[4pt]
\cos\beta &= \frac{a_2(c-d)((c-d)(b^2-c^2)-p)\pm c\sigma}{2bp(c-d)}
\end{align}$$
where the $\pm$ represents the same sign throughout.
Of course, $\sigma$ must be real for a solution to exist. Whether one or the other (or both, or neither) states of the "$\pm$" leads to an extraneous solution is left as an exercise to the reader. $\square$