A geometry question...

enter image description here

Extend $CB$ and drop a perpendicular from $N$ to this extension. Let the intersection be $H$.

We see that $\triangle BCE \cong \triangle NHB$. Indeed, $\angle NHB = \angle BCE = 90^\circ$ and $NB = BE$.

We also have $\angle NBH = 180^\circ - \angle NBE - \angle CBE = 180^\circ - \angle BCE - \angle CBE = \angle BEC$. Hence congruence follows by AAS.

Now $BC = NH = 3cm$ and $NB = BE = 5cm$. By Pythagoreas theorem, $HB = CE = 4cm$, and $NC^2 = HC^2+NH^2 = (3+4)^2+3^2$.


Rotation around $B$ for $-90^{\circ}$ takes $C$ to $A$ and $N$ to $E$, so it takes $CN$ to $AE$. So $$CN = AE = \sqrt{3^2+7^2}=\sqrt{58}$$


enter image description here

Use coordinate geometry.

Let $B$ be the origin. Recall that for two lines to be perpendicular, $m_1 m_2 = -1$. Now let the line perpendicular to the line passing through $(0, 0)$ and $(4, -3)$ pass through $(a, b)$. We have that $m_1 = -\frac{3}{4}$ and $m_2 = \frac{b}{a}$, so $m_1 m_2 = -\frac{3}{4} \frac{b}{a} = -1$, and $\frac{b}{a} = \frac{-1}{-3/4} = \frac{4}{3}$ (note that there are an infinite number of points satisfying this condition).

$b = 4, a = 3$ or $(3, 4)$ satisfies this condition, and it has the same distance to $B$ as $(4, -3)$, as the absolute $x$ and $y$ distances are the same, thus Pythagoras's theorem is not affected.

Now move the origin $(0, 0)$ back to $D$. Therefore $N$ is $3$ units right and $4$ units up from $B$, which is at $(3 + 3, 3 + 4) = (6, 7)$. Now just find the distance between $C = (3, 0)$ and $N = (6, 7)$.