Complex sentence: The film was a critical and commercial failure and earning only about $17 million.
Split into simpler sentences: The film was a critical and commercial failure. It earned only about $17 million.