Anne Dwane, CBO at Chegg, has had to adapt a lot in her career as she's started and sold companies. Here's what she learned.