$1^{st}$ condition
" GDPs of the countries X and Y have grown over the past five years at compounded annual rate of $5\%$ and $6\%$ respectively. "
If country X has growth rate $5$ years back A
Now GDP for $X =A(1+5/100)^{5}$
Now GDP for $Y=B(1+6/100)^{5}$
$2^{nd}$ condition is
" Five years ago, GDP of country X was higher than that of country Y "
But until we know X was actually how much higher than Y
We cannot conclude anything
So, answer is
4) if the question cannot be answered even by using both statements together.