The correct answer for the question that is being presented above is this one: Here are the stages based on when they occur, from first tolast.
(1) contracting cloud of gas and dust
(2) protostar
(3) main sequence g star
(4) red giant
(5) planetary nebula
(6) white dwarf