@Huy Since no further information is given on the translation used, let m1, m2, m3, n be integers
For ease of writing down, create an augmented matrix $M$ using the position vectors A,B,C,D,E
Now rotation will be carried out by the matrix $R_{\frac{\pi}{4}}$
Translation by the matrix $T$ and scaling (assuming uniform scaling) $S$ (which is just a scalar
After that the transformed coordinates can be extracted from the column of the 3x5 matrix
The result is that the transformed position vector E' will always contains $\sqrt{2}$ unless there is no translation along the z direction