The entire solution to this problem, including a step-by-step explanation, can be found in the
Cost of Capital Review Notes
located off the finance page of my web site.