There was a country concert held at the park. For every 5 men there were 7 women that went to the concert. If 40 more women attended the concert than men, how many men and how many women attended the concert? Use the following diagram to help solve the ratio problem.