<span>To begin, the mouse walks from 5 to 12 cm, for a displacement of 7 cm. Next, it walks 8 cm in the opposite direction, for a total displacement of (7 + [-8]) or (-1) cm. This leaves the mouse on 4 cm, and then it walks from there to the 7cm location, for a displacement of 7-4 or +3 cm. Adding 3cm to -1cm gives a final displacement of +2cm.</span>
This is a statement but yes a star forms inside nebulae which are gigantic clouds of gas. stars form inside as the gases own gravity pulls it together after which it becomes large enough to perform fusion and become a star.