How does the sentence end? See options at the end

Kayla did amazing on the exam compared to Elena, due to 


(i). Kayla being unprepared for it.;
(ii). Elena being unprepared for it.;
(ii).