If the lines meet then their intersection is a fixed point for the composition and so this is a rotation. If they are parallel the product is a translation by twice the distance between them.
A glide reflection f is Ta Rl = Rl Ta.
So the product f1 f2 = (Ta Rl) (Tb Rm) = Ta (Rl Rm) Tb and so is a rotation if the lines l, m meet (by twice the angle between them) and a translation if they are parallel.
Start with a pair of axes: 1 and 2 and follow their images under the glides.
The composite of a pair of glides is a rotation (about some point) by twice the angle between them.
So GBC GAB = rotation by 2β and GDA GCD = rotation by 2δ.
So if 2β + 2δ ≠ 2π the composite cannot be the identity.
If β + δ = π then, since A is fixed by the composite, we do have the identity.
This is the condition that the quadrilateral is cyclic (the four vertices lie on a circle).
If h, k are both rotations then their inverses are rotations by the opposite amount and so (by Question 1 above) when we compose we get a translation. The same thing happens if one is a translation. If both are translations, they commute and we have the identity.
If f is a rotation about a by θ then take h, k to be reflections in lines meeting at a at an angle of α. Then f g is rotation by 2α and since h = h -1 and k = k -1 we have h k h -1 k -1 = rotation by 4α and so we may take α = θ/4.
To get a translation by a, take h to be rotation by π about 0 and take k to be rotation by π about a/4.
So the matrices representing rotation about the x and y axis in R3 are B = and C = . Then D = BC = . To find the axis of this rotation we solve Dx = x.
That is -z = x, -x = y, y = z and we can take the vector as a solution.
If you think of the rotations as acting on a cube centred at the origin, this is one of the cube's diagonals.