The track away from the NDB is irrelevant, the RBI display would be showing 180 degrees if there was no drift. As there is a 5 degree drift to starboard, this will be added to the RBI indication, giving the 185 degrees relative bearing in the answer. Please excuse the rather crude drawing, best I could do with the limited drawing package....