The countries "Drømmeland", "Erkerivalia" and "Fantasia" had a competition. Please tell me how maney gold medals the won each with these sentences.

1. They won 17 medals in all
2 "Erkerivalia" won three times more medals than "Fantasia"
3. If "Erkerivalia" had won three times more medals than they did, they would. have 12 more medals than "Drømmeland"
4. "Fantasia won 1 medal minor than the third of the medals "Drømmeland" won

To determine the number of gold medals won by each country, let's break down the information and use variables to represent the unknowns.

Let's represent the number of gold medals won by "Drømmeland" as D, "Erkerivalia" as E, and "Fantasia" as F.

1. The total number of medals won by all three countries is 17, so we can write the equation:
D + E + F = 17

2. It states that "Erkerivalia" won three times more medals than "Fantasia". This can be written as:
E = 3F

3. If "Erkerivalia" had won three times more medals than they did, they would have 12 more medals than "Drømmeland". This can be written as:
E + 12 = D

4. "Fantasia" won 1 medal less than one-third of the medals "Drømmeland" won. This can be written as:
F = (D/3) - 1

We now have a system of four equations that we can solve simultaneously to find the values of D, E, and F.

Using substitution, we can substitute equation (2) into equations (3) and (4) to eliminate E:

For equation (3):
3F + 12 = D

For equation (4):
F = (D/3) - 1

Now, substitute the value of E from equation (2) into equation (1) to eliminate E:
D + 3F + F = 17
D + 4F = 17

We can rewrite equation (3) as:
D - 3F = -12

With these three equations, we can solve the system to find the values of D, E, and F.