[noun] + から + の + [noun] [noun] + まで + の + [noun] [noun] + へ + の + [noun] [noun] + と + の + [noun] [noun] + で + の + [noun]
の after a particle lets a whole particle phrase describe a noun: はは母から "from my mother" becomes はは母からのてがみ手紙, "a letter from my mother". It works with から, まで, へ, と and で, and the phrase goes in front of the noun it describes.
The particle stays and の is added after it. A particle phrase can't sit straight before a noun.
に never takes の. When a に phrase describes a noun, it switches to へ first.
が and を never take の either. When a verb noun such as 勉強 or 旅行 is described by its object, を becomes plain の.