It seems that the second question is incomplete or wrong. Because the arrangement of tasks to complete the project have produced a simple path (it is linear) and based on each friends-to-tasks assignment it takes 20 days to complete the project.
But about the first question, due to the help of two friends, the number of helpers which we require are as follows:
The most regular approach is formulate a mathematical optimization model and try to implement it in some optimization-framework. The problem you are showing are not complicated at all, so this regular\general approach surely will give you the optimal solution (if this exists).