Answer
The answer and procedures of the exercise are attached in the following archives.
You didn´t post the complete information of the exercise, I searched the exercise online and tried to ask the most useful question.
Explanation
You will find the procedures, formulas or necessary explanations in the archive attached below. If you have any question ask and I will aclare your doubts kindly.