Pipeline and pipe network to analyze 1. solving by hand & 2. solving by python (Jupyter notebook)

Job ID: 30799773

Budget: $30 – $50 USD

This is a mechanical pipe lines network to solve.
Solving by hand and by python (Jupyter notebook).
Old example attached also but with different requirements and given data.
Also python (Jupyter notebook) codes will be given for this old example once approved.
One simple question and one complicated question.
Only if you can solve both approach me please. Don't waste both of our times.
If you don't know how to use python (Jupyter notebook) stay away please.