Qs1 = -500 + 7P
Qs2 = -500 + 10P

Answer:
1st image for 1st question
Explanation:
2nd question:
[tex] - 500 + 10p = \\ (factor \: out \: 10) \\ 10( - 50 + p) \\[/tex]
here you go