Question 1005529
From
p + q = 1000  and
p = q + 150
we substitute the second equation into the first and get
q + 150 + q = 1000
2q + 150 = 1000
2q = 850
q = 425
p must then be 575.