The
slant range is 5NM, the aircraft is 1NM up, the flat
range must be less than 5NM.
To find out exactly what the range is use Pythagoras' formula
where the unknown side is x,
1 squared + x squared = 5 squared
x squared = 25 - 1 = 24
x = 4.899 NM