This is similar to a question already shared. Try solving this.

Try this question on Design of shafts.

Share detailed working please.

This question on complex stress needs calculations . Try solving it.