N23-MATHAA-SL-TZ2-P2-Q5 [Q-1101F] – Part a

Find the value of $q$.