Mechanical shaft keys in automotive power-transmission systems are used for transferring torque. There are several types…