In the coding table: CLOUD=durxs, MOON=wxxv, SKY=tbh, STAR=pcba, SUN=bwd. Code letter of 'N' is -
In the coding table: CLOUD=durxs, MOON=wxxv, SKY=tbh, STAR=pcba, SUN=bwd. Code letter of 'N' is -
Cross-referencing MOON(wxxv) and SUN(bwd): O maps to x (repeated O matches repeated x). Working through common letters across words, S=b, U=d, O=x, and N is left to map to w.
Re-check your working by substituting the answer back into the original question.