Let AP=1
AQ=2
AR=3
if we rotate △PAQ around Q by 90° in clockwise direction , P -> R and A-> B
then △QAB is an isosceles right triangle .
∴ AB²=2AQ²=8
RB²=AP²=1
∴ By pythagoras theorem ,
AR ²=9=RB ²+AB ²
this implies that , ∠RBA=90°
hence, ∠PAQ = ∠ RBA + 45° = 135°