He joined Trex to repair a struggling decking business. A bank-covenant breach, a retired colleague and a board customers actually wanted would define what happened next.