Answer
The $5d$ state is the state with the higher energy.
Work Step by Step
We can write an expression for the energy in a hydrogen atom:
$E_n = -\frac{13.6~eV}{n^2}$
Then:
$-\frac{13.6~eV}{5^2} \gt -\frac{13.6~eV}{4^2}$
The $5d$ state is the state with the higher energy.