I used the following formula to answer the question;
$$\frac{((x∗k)+1)}{n},$$
where $x=(1,2,3...N)$. If the result of the formula is an integer then that result is the inverse to n mod k. In this case n=5 and k=26. So I found that when $x=1$ the result is $5.4$. When $x=2$ the result is $10.6$. When $x=3$ the result is $15.8$. When $x=4$ the result is $21$. 21 is an integer so $5∗21=1 \space mod\space 26.$
Can anyone explain whether $N=26$ in this case, because we are dealing with Mod $26$?