Chemical engineering Thermodynamics Homework

Thermodynamics Hw: it is needed to use the Peng Robinso equation of state to solve a problem of Adiabatic filling of a reservoir,(all the given instructions are in the PDF)
It is crucial to explain how the results were obtain as well as the logical sequence of processes/formulas (or functions in case of matlab)) Needed to solve for the following variables:

It is needed to acquire the

1)mass of (a+b) pure substance and(c) mixture of 2 substances

2) The final Temperature of the substance/system, and other thermodynamic variables namely x&/or y (Needs a reference state to obtain most of them, hence one should pass by H,U, and G)