Complex sentence: The two light up cigarettes and are spotted by their supervisor, who informs them that smoking on the job is an offense which could cost them their promotions and their jobs.
Split into simpler sentences: The two light up cigarettes and are spotted by their supervisor. She informs them that smoking on the job is an offense which could cost them both their promotions and their jobs.