Problem 1:
Part (a)
Since the second rotation is with respect to the moving frame {B}, we post-multiply, rather than premultiply successive rotations.
Part (b)
Since the rotation is now with respect to the fixed frame {A}, we pre-multiply successive rotations.
Created by Mathematica (September 29, 2003)