Choose an origin, say where bevel gear meets shaft. Identify x y and z axes. If necessary sketch 3 orthogonal views of the situation, or, better, a perspective sketch. Then, where the bevel gear meets the shaft, identify the Mx, My, Mz, Fx, Fy, Fz components of the actions. The rest should follow if you can do that.