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

Find the value of $q$.