A cube $ABCD.EFGH$ has side length $2a$ cm. Point $A$ is lifted $a$ cm from the floor, point $C$ is still on the floor, point $B$ and point $D$ are on the same height from the floor. What is the height of point $E$ from the floor?
I'm sorry for my bad English, but I try to illustrate it as follows.

The left cube is the original one while the right side is the cube after we lifted the point $A$. In my mind, to find the height of point $E$ from the floor is to find the length of line $EN$. We can use Pythagorean theorem $EN^2=ME^2-MN^2$. But how to find the length of line $ME$ and $MN$?
As your pivot is point $C$ and points $B$ and $D$ are at the same height, the vertical edge AE will rotate by the same angle as the horizontal line $CA$.
(another way to think is $\triangle CAE$ rotating by angle $\theta$ in the same original plane)
If $\angle ACA' = \theta, \angle CAA' = 90^0 - \theta$.
where $A'$ is the vertical projection of point $A$ on the original surface.
Also $\angle CAE = 90^0$.
So, $\angle E'AE = 180^0 - (\angle CAE + \angle CAA') = 180^0 - (90^0 + 90^0 - \theta) = \theta$
Now $CA' = \sqrt{CA^2 - AA'^2} = \sqrt{{(2\sqrt2a)^2} - a^2} = a \sqrt 7$
So $\cos \theta = \frac{CA'}{CA} = \frac{a\sqrt7}{2a\sqrt2} = \frac{\sqrt7}{2\sqrt2}$
Now perpendicular distance of $E$ from the original horizontal plane
$= a + 2a \cos \theta \,$ ($\triangle AE'E \sim \triangle CA'A$)
$= A'A + AE' = a + 2a \frac{\sqrt7}{2\sqrt2} = a(1 + \sqrt{\frac{7}{2}})$