Before proceeding, section properties for shafts (1) and (2) must be computed.
For shaft (1):
J1=π32D14-d14 =π32(50 mm)4-(42 mm)4 =308,102 mm4
and
c1=50 mm2=25 mm
For shaft (2):
J2=π32D24-d24 =π32(42 mm)4-(30 mm)4 =225,968 mm4
c2=42 mm2=21 mm