Hi. I myself is a second language English speaker but I will try to explain it as clear as I can. The word gifted in this case means talented or skilful at something. So the sentence is basically saying that if you are very good at mathematics, then you would have already known that Naypyidaw is four and a half times bigger than London as you have the ability to make such calculations from the information given. Hope this clears up any confusion.