Answer :
The two numbers p and q are 50 and 10 respectively.
subtract 5 from p and subtract 5 from q the result are in the ratio 9: 1
(p - 5):(q - 5) = 9:1
(p-5)/(q - 5) = 9/1
p - 5 = 9(q - 5)
p - 5 = 9q - 45
p - 9q = -40
3p - 27q = -120.......equation 1
(p + 20):(q + 20) = 7:3
(p + 20)/(q + 20) = 7/3
3(p + 20) = 7(q + 20)
3p + 60 = 7q + 140
3p - 7q = 80.......equation 2
subtracting equation 1 from equation 2
3p - 7q -3p + 27q = 80 + 120
20q = 200
q = 10
p - 9q = -40
p - 90 = -40
p = 50
THerefore, the two numbers p and q are 50 and 10 respectively.
To learn more abour ratio refer here
https://brainly.com/question/2328454
#SPJ9