You are done in your solution at the step where you concluded that $2^p = 13^q$. You only need to quote Fundamental Theorem of Arithmetic after that step.