Formerly capital way to get goals (5)
I believe the answer is:
lagos
'formerly capital' is the definition.
The answer and definition can be both locations as well as being singular nouns.
Maybe they are linked in a way I don't understand?
'way to get goals' is the wordplay.
'way to get' is an anagram indicator (a way to have the letters).
'goals' is an anagram of 'LAGOS'.
Can you help me to learn more?
(Other definitions for lagos that I've seen before include "Nigerian city and port" , "Chief port and former capital of Nigeria" , "Strange goals of the Nigerian port" , "Former Nigerian capital" , "Formerly capital of Nigeria" .)