A soccer team played 32 games. They won 24 and lost 8. Mia was the goalie in 5/8 of the winning games and 1/4 of the losing games.

What fraction of the games did the team win?

In how many games did Mia play goalie?