Question 24$p$ and $q$ are primes such that the numbers $p+q$ and $p+7q$ are both squares. Find the value of $p$.