since both are sequential and note that all p,q,r,s are diffrent also so, only valid pq and rs pair are (19,20),(29,30),(39,40),(49,50),(59,60),(69,70),(79,80)
and further it is asked that sum of square of pq and rs is (3 Digit) so, only pair (19,20) sum of product will result in 3 digit i.e.
$19^2 + 20^2$ = 361 + 400 = 761 and like this Y = 6 that is
OPTION C