Having determined τ1 and τ2, the internal torques carried by each shaft can be computed.
For shaft (2):
T2=τ2J2c2
=(-50 N/mm2)(4,021,239 mm4)40 mm =-5,026,549 N-mm =-5,026.549 N-m