Let $\alpha,\beta,\gamma$ by so that the angles in $A,B,C$ of the given triangle are $2\alpha$, $2\beta$, $2\gamma$. All the time we will use
$$\alpha+\beta+\gamma=90^\circ\ .$$
Then we have in the picture the following order of introducing points, and then calculating angles joined with these points in the same order. (This is the reason for asking this in the comments.)

- We start with $\Delta ABC$.
- We construct (ignoring the alphabet) first the point $E$, the $B$-excenter, usually denoted by $I_B$.
- We draw the perpendicular line in $E$ on $AE$, and consider its intersection with $BC$, denoted by $D$.
- Let also $H$ be the projection of $B$ on $ED$.
- The problem also tacitly gives the information / the relation on the two angles marked with $x$ and $5x$. (The last angle is five times the first one.) Somewhere it should be noted that the angles are measured in degrees.
Now the question is which is the maximal value of the angle $x$ (measured in degrees), knowing it is an integer.
Solution:
We compute as in the picture first the angles in $\Delta ACE$, starting with those in $A,C$. Then for the angle in $E$ there remains $\alpha+\gamma$, so the complement is $\widehat{CED}=\beta$. In $\Delta CED$ we know two angles, those in $C,E$ (introduced as points before $D$), so the angle in $D$ is $\alpha+2\gamma$. So $x$ is the complement of this angle in $D$, which is $x=\beta-\gamma>0$. (This condition is soon satisfied.)
The given relation for the two angles $x$ and $5x$ becomes now:
$$
5(\beta-\gamma)=5x=2\gamma\ ,
$$
in other words $5\beta=7\gamma$. The angles of the triangle are thus so that
$$
90^\circ=\alpha+\beta+\frac 57\beta>\frac{12}7\beta\ .
$$
So
$$
x=\beta-\gamma=\beta-\frac 57\beta=\frac 27\beta
=\frac 16\cdot
\frac{12}7\beta
<\frac 16\cdot 90^\circ=15^\circ\ .
$$
So the maximal value in degrees which is an integer is $\color{blue}{14^\circ}$.
$\square$
The above solution is constructive, shows how to take $\alpha,\beta,\gamma$ explicitly to realize the maximum.