a. Note that R is the circumcentre of triangle BHC, hence OR bisects BC. Also, ∠BRC=2∠(180∘−∠BHC)=2∠QRP=2∠A=∠BOC, so it follows that R is the reflection of O across the line BC.
Next, since QR is perpendicular to BH, which is perpendicular to AC, we have that AC∥QR, and hence ∠BQR=∠A=∠BOR, which shows that BQOR is a cyclic quadrilateral. Using the sine rule in triangle BQR we see that the circumradius of triangle BQR is equal to 2sinBQRBR=2sinAR, where R is the circumradius of triangle ABC. Similarly, CPOR is a cyclic quadrilateral with circumradius 2sinAR.
Let the line through O perpendicular to BH meet BH in K and AB in L, let the foot of the altitude from B be E and let the midpoint of BH be M. It is well known that AH=OR, and hence, since AH∥OR and QR∥OK∥AC, it follows that HE=MK⟹KE=MH=BM⟹AL=BQ. Hence L and Q are symmetric about the midpoint of AB, and so OQ=OL. Hence, since OL∥AC, ∠OQA=∠OLQ=∠A.
Using the sine rule in triangle OAQ shows that it has circumradius
2sin∠AQOAO=2sinAR. Similarly, ∠OPA=∠A and triangle OAP has circumradius 2sinAR.
These radii are equal to R if and only if sinA=21, i.e. if and only if ∠A=30∘.

b. Since QR is the perpendicular bisector of BH, we have that ∠HQR=∠BQR=∠A. Considering the opposite angles of these two angles and recalling that ∠AQO=∠A, we have that ∠HQO+180∘=3∠A⇒∠HQO=3∠A−180∘. Next, since ∠OQA=∠A=∠OPQ, it follows that ∠POQ=360∘−3∠A. Hence ∠POQ+HQO=360∘−3∠A+3∠A−180∘=180∘, which shows that OP∥QH. Hence, if PQ passes through O, it also passes through H. In this case, ∠HQO=0∘=3∠A−180∘, implying that ∠A=60∘.