Dave was playing checkers with a friend. The ratio of games Dave won was 7:2. If Dave won 35 games, how many games did his friend win?