We are given that a point is rotated counterclockwise about an angle of 45 degrees. A diagram of this is the following:
Now, since the rotation of point G to point G' won't affect the distance of segment GH, this means that
Rotation is a type of transformation called isometries, that is, transformations that do not change the distance.