Given: ABCD is a square.
thus, AB=BC
AP=BQ (Given)
AB−AP=BC−BQ
PB=CQ (I)
Now, In △PBQ and △CQR,
∠PBQ=∠QCR (Each 90∘)
PB=CQ (From I)
BP=CR (Given)
thus, △PBQ≅△CQR (SAS rule)
or, PQ=QR (By cpct)
Now, In △PQR
PQ=QR
thus, ∠PRQ=∠QPR=x (Isosceles triangle property)
∠PQR=90∘ (Given)
Sum of angles = 180
∠PQR+∠QPR+∠QRP=180
90+x+x=180
2x=90
x=45
Thus, ∠PRQ=45∘