In summary, the internal torques in shafts (1) and (2) are:
T1=675.7 N-mT2=724.3 N-m
Shear stresses are:
τ1=54.83 MPaτ2=67.31 MPa
The rotation of end B is:
ϕB=+0.08435 rad =+4.83 deg
Finished