How does the sentence end?

So
Available options: a). Elena was embarrassed that Elena did not have enough money to buy a new computer when Carrie did.; b). Carrie was embarrassed that Elena did not have enough money to buy a new computer when Carrie did.;
a).