τ1L1c1G1=τ2L2c2G2
The stress in shaft (2) controls the capacity of the composite shaft. Accordingly, set τ2=100 MPa.
Compute the shear stress in shaft (1):
τ1=c1c2G1G2L2L1τ2 =25 mm21 mm26 GPa38 GPa400 mm400 mm1(100 MPa) =81.45 MPa