Note: Figure not drawn to scale

In the figure below, line segment AE and line segment CD are each perpendicular to line segment CE. If x=y, the length of line segment AB is 4, and the length of line segment BD is 8, what is the length of line segment CE?

Thanks in advance