Question
Let W1 and W2 denote the circles x2+y2+10x−24y−87=0 and x2+y2−10x−24y+153=0 respectively. Let m be the smallest positive value of a for which the line y=ax contains the centre of a circle that is externally tangent to W2 and internally tangent to W1. If m2=pq, where p and q are co-prime, then the value of (p+q) is