A DME measures slant range rather than plan range, however in this question the aircraft is directly overhead the beacon.

The interrogation pulses will therefore go vertically down to the beacon and the response pulses will go vertically upwards to the aircraft.

In turn, this means that the measured range of the beacon will be approx 36000ft (ie about 6nm).