
Justin B. answered 01/09/24
MS/HS Math/Science, AP/IB Math, Elementary Stats, Calculus I Tutor
By definition, a prime number has two factors: 1 and itself.
q cannot be a factor of p because the only factors of p are 1 and p.
Because q cannot be a factor of p, then q and p are relatively prime by definition.