A soccer team scores 12 points in 5 matches. They scored the same number of points in each of their first 3 matches and one more point in each of their last 2. How many points did they score in each match?