How does the sentence end?

So 
Select from the following. + Elena was embarrassed that Elena did not have enough money to buy a new computer when Carrie did.. + Carrie was embarrassed that Elena did not have enough money to buy a new computer when Carrie did..
Elena was embarrassed that Elena did not have enough money to buy a new computer when Carrie did.