We know that the total was 420 birds.
We also know that the ratio of Godwits geese was 20:40, so 2: 4, which after shortening is 1: 2. Now we know that geese is twice the Godwits.
Arrange the relationship:
x + 2x = 420
3x = 420 |:3
x = 140
2x = 2 * 140 = 280
We see that the geese is 280, and 140 Godwits. In total 420.