Answer
The answer and procedures of the exercise are attached in the following archives.
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.
Notes:
1) In first event, it is given a former patient made at investment, investment in a business means taking equity.
2) In fifth event, there just mentioned about loan amount but no discuss whether it is loan taken or made to outsider. So it is considered as loan taken. As it is 10 years, so it is a long term loan.