A particular task can be divided into 3 subtasks A, B, and C…