A portfolio consisted of 50% Stock A and 50% Stock B. The document provides the annual returns for each stock from 2009 to 2013. To calculate the average return of the portfolio, it multiplies the return of each stock by its percentage in the portfolio (50%), sums these values to get the total return each year, and then calculates the average return over the period, which is 17.70%.