Complex sentence: Electronically opened quartz-halogen headlamps popped up from the leading edge of the hood, and when closed, (not in use), formed a sharp, very aerodynamic wedge-shaped body.
Split into simpler sentences: Electronically opened quartz-halogen headlamps popped up from the leading edge of the hood. When closed (not in use), they formed a sharp, aerodynamic wedge-shaped body.