A family went to a baseball game. They parked in a car parking lot which charged $15. The cost per ticket was $25. Write an equation for the total cost of going to the baseball game, where y is the total cost and x is the total number of people. If the family spent $190, how many people went to the game?