Here 53p26p3 which is divisible by 9.So here the sum of the digits of the number is divisble by 9 then that number is divisble by 9. then 19+2p is divisible by 9 where p=4. similarly 757qp which is divisible by 8 .So the sum of the last three digits of a number is divisble by 8 then that number is divisble by 8 so here 704,744 and 784 is the multiple of 8.then the value is 0,4,8 i.e q value.So p+q is 4+0=4 , 4+4=8, 4+8=12.So minimum value is 4