Complex sentence: Massa went into the final grand prix of the season, the, in contention for the championship, and won the race, but ultimately lost the championship to Hamilton.
Split into simpler sentences: Massa went into the final race of the season, the, in contention for the championship. Massa won the race, but ultimately lost the championship to Hamilton.